diff options
Diffstat (limited to 'java/demo/Ice/throughput/Client.java')
-rw-r--r-- | java/demo/Ice/throughput/Client.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/demo/Ice/throughput/Client.java b/java/demo/Ice/throughput/Client.java index 1f5dcb32018..8f6a4176705 100644 --- a/java/demo/Ice/throughput/Client.java +++ b/java/demo/Ice/throughput/Client.java @@ -67,8 +67,7 @@ public class Client extends Ice.Application // setInterruptHook(new ShutdownHook()); - Ice.ObjectPrx base = communicator().propertyToProxy("Throughput.Throughput"); - ThroughputPrx throughput = ThroughputPrxHelper.checkedCast(base); + ThroughputPrx throughput = ThroughputPrxHelper.checkedCast(communicator().propertyToProxy("Throughput.Proxy")); if(throughput == null) { System.err.println("invalid proxy"); |