summaryrefslogtreecommitdiff
path: root/java/test/Ice/exceptions/Collocated.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/exceptions/Collocated.java')
-rw-r--r--java/test/Ice/exceptions/Collocated.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/Ice/exceptions/Collocated.java b/java/test/Ice/exceptions/Collocated.java
index 2451a4df821..e66910ef1a9 100644
--- a/java/test/Ice/exceptions/Collocated.java
+++ b/java/test/Ice/exceptions/Collocated.java
@@ -15,7 +15,7 @@ public class Collocated
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000");
Ice.ObjectAdapter adapter = communicator.createObjectAdapter("TestAdapter");
Ice.Object object = new ThrowerI(adapter);
- adapter.add(object, Ice.Util.stringToIdentity("thrower"));
+ adapter.add(object, communicator.stringToIdentity("thrower"));
AllTests.allTests(communicator, true);