summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/OutgoingConnectionFactory.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-01-03 18:08:31 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-01-03 18:08:31 +0000
commitae899e981811eec7ad4ee2c7bf354174cf7dfeaf (patch)
tree8606155063f77cf50d0d28e335c544bd776b603a /java/src/IceInternal/OutgoingConnectionFactory.java
parentAdded -bind_at_load, without this we get various crashes in the linker (diff)
downloadice-ae899e981811eec7ad4ee2c7bf354174cf7dfeaf.tar.bz2
ice-ae899e981811eec7ad4ee2c7bf354174cf7dfeaf.tar.xz
ice-ae899e981811eec7ad4ee2c7bf354174cf7dfeaf.zip
Bug 1327 - allow getClientProxy to return nil proxy
Diffstat (limited to 'java/src/IceInternal/OutgoingConnectionFactory.java')
-rw-r--r--java/src/IceInternal/OutgoingConnectionFactory.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/IceInternal/OutgoingConnectionFactory.java b/java/src/IceInternal/OutgoingConnectionFactory.java
index 388c2b71027..77646bbce7c 100644
--- a/java/src/IceInternal/OutgoingConnectionFactory.java
+++ b/java/src/IceInternal/OutgoingConnectionFactory.java
@@ -413,10 +413,9 @@ public final class OutgoingConnectionFactory
// connections, so that callbacks from the router can be
// received over such connections.
//
- Ice.ObjectPrx proxy = routerInfo.getClientProxy();
Ice.ObjectAdapter adapter = routerInfo.getAdapter();
DefaultsAndOverrides defaultsAndOverrides = _instance.defaultsAndOverrides();
- EndpointI[] endpoints = ((Ice.ObjectPrxHelperBase)proxy).__reference().getEndpoints();
+ EndpointI[] endpoints = routerInfo.getClientEndpoints();
for(int i = 0; i < endpoints.length; i++)
{
EndpointI endpoint = endpoints[i];