diff options
Diffstat (limited to 'java/test/Ice/exceptions/AllTests.java')
-rw-r--r-- | java/test/Ice/exceptions/AllTests.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/java/test/Ice/exceptions/AllTests.java b/java/test/Ice/exceptions/AllTests.java index c5e3287ab9d..493795d9436 100644 --- a/java/test/Ice/exceptions/AllTests.java +++ b/java/test/Ice/exceptions/AllTests.java @@ -792,7 +792,7 @@ public class AllTests } { - System.out.print("testing object factory registration exceptions... "); + System.out.print("testing object factory registration exception... "); Ice.ObjectFactory of = new ObjectFactoryI(); communicator.addObjectFactory(of, "::x"); try @@ -803,16 +803,6 @@ public class AllTests catch(Ice.AlreadyRegisteredException ex) { } - - communicator.removeObjectFactory("::x"); - try - { - communicator.removeObjectFactory("::x"); - test(false); - } - catch(Ice.NotRegisteredException ex) - { - } System.out.println("ok"); } |