diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-09-07 02:30:29 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-09-07 02:30:29 +0000 |
commit | 6f1ded4bb739128f167f8486aeaac273cccc88d3 (patch) | |
tree | 1e75c490cf1403aa2165a35aace9d779f26294bb /java/src/IceInternal/Reference.java | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=448 (diff) | |
download | ice-6f1ded4bb739128f167f8486aeaac273cccc88d3.tar.bz2 ice-6f1ded4bb739128f167f8486aeaac273cccc88d3.tar.xz ice-6f1ded4bb739128f167f8486aeaac273cccc88d3.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=448
Diffstat (limited to 'java/src/IceInternal/Reference.java')
-rw-r--r-- | java/src/IceInternal/Reference.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/src/IceInternal/Reference.java b/java/src/IceInternal/Reference.java index d8a5f79102b..8fb52100283 100644 --- a/java/src/IceInternal/Reference.java +++ b/java/src/IceInternal/Reference.java @@ -64,7 +64,7 @@ public abstract class Reference implements Cloneable public final Ice.Communicator getCommunicator() { - return _instance.communicator(); + return _communicator; } public abstract boolean getSecure(); @@ -387,6 +387,7 @@ public abstract class Reference implements Cloneable } private Instance _instance; + private Ice.Communicator _communicator; private int _mode; private Ice.Identity _identity; @@ -400,6 +401,7 @@ public abstract class Reference implements Cloneable protected Reference(Instance inst, + Ice.Communicator communicator, Ice.Identity ident, java.util.Map ctx, String fac, @@ -413,6 +415,7 @@ public abstract class Reference implements Cloneable assert(fac != null); _instance = inst; + _communicator = communicator; _mode = md; _identity = ident; _hasContext = ctx != null && !ctx.isEmpty(); |