summaryrefslogtreecommitdiff
path: root/java/test/Ice/faultTolerance/TestI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/faultTolerance/TestI.java')
-rw-r--r--java/test/Ice/faultTolerance/TestI.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/test/Ice/faultTolerance/TestI.java b/java/test/Ice/faultTolerance/TestI.java
index 576ab2a8c08..6a60d0942c5 100644
--- a/java/test/Ice/faultTolerance/TestI.java
+++ b/java/test/Ice/faultTolerance/TestI.java
@@ -14,16 +14,15 @@ import test.Ice.faultTolerance.Test._TestIntfDisp;
public final class TestI extends _TestIntfDisp
{
public
- TestI(Ice.ObjectAdapter adapter, int port)
+ TestI(int port)
{
- _adapter = adapter;
_pseudoPid = port; // We use the port number instead of the process ID in Java.
}
public void
shutdown(Ice.Current current)
{
- _adapter.getCommunicator().shutdown();
+ current.adapter.getCommunicator().shutdown();
}
public void
@@ -45,5 +44,4 @@ public final class TestI extends _TestIntfDisp
}
private int _pseudoPid;
- private Ice.ObjectAdapter _adapter;
}