summaryrefslogtreecommitdiff
path: root/java/test/Ice/slicing/exceptions/TestI.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/slicing/exceptions/TestI.java')
-rw-r--r--java/test/Ice/slicing/exceptions/TestI.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/test/Ice/slicing/exceptions/TestI.java b/java/test/Ice/slicing/exceptions/TestI.java
index cd26ea02403..a5898d78b26 100644
--- a/java/test/Ice/slicing/exceptions/TestI.java
+++ b/java/test/Ice/slicing/exceptions/TestI.java
@@ -22,15 +22,14 @@ import test.Ice.slicing.exceptions.server.Test._TestIntfDisp;
public final class TestI extends _TestIntfDisp
{
public
- TestI(Ice.ObjectAdapter adapter)
+ TestI()
{
- _adapter = adapter;
}
public void
shutdown(Ice.Current current)
{
- _adapter.getCommunicator().shutdown();
+ current.adapter.getCommunicator().shutdown();
}
public void
@@ -167,5 +166,4 @@ public final class TestI extends _TestIntfDisp
umd2.umd2 = "UnknownMostDerived2.umd2";
throw umd2;
}
- private Ice.ObjectAdapter _adapter;
}