summaryrefslogtreecommitdiff
path: root/java/test/Ice/objects/Collocated.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/objects/Collocated.java')
-rw-r--r--java/test/Ice/objects/Collocated.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/Ice/objects/Collocated.java b/java/test/Ice/objects/Collocated.java
index 69ee5dcd402..693a7314c42 100644
--- a/java/test/Ice/objects/Collocated.java
+++ b/java/test/Ice/objects/Collocated.java
@@ -17,7 +17,7 @@ public class Collocated
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000");
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter");
Initial initial = new InitialI(adapter);
- adapter.add(initial, Ice.Util.stringToIdentity("initial"));
+ adapter.add(initial, communicator.stringToIdentity("initial"));
AllTests.allTests(communicator, true);
// We must call shutdown even in the collocated case for cyclic dependency cleanup
initial.shutdown();