jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java
changeset 4156 acaa49a2768a
parent 1247 b4c26443dee5
child 5506 202f599c92aa
--- a/jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java	Wed Oct 21 16:28:57 2009 +0200
+++ b/jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java	Wed Oct 21 17:33:18 2009 +0200
@@ -124,16 +124,7 @@
     }
 
     private static boolean test(String proto) throws Exception {
-        boolean ok = true;
-        for (boolean eventService : new boolean[] {false, true})
-            ok &= test(proto, eventService);
-        return ok;
-    }
-
-    private static boolean test(String proto, boolean eventService)
-            throws Exception {
-        System.out.println("Testing for proto " + proto + " with" +
-                (eventService ? "" : "out") + " Event Service");
+        System.out.println("Testing for proto " + proto);
 
         boolean ok = true;
 
@@ -145,8 +136,6 @@
         Map serverMap = new HashMap();
         serverMap.put(JMXConnectorServerFactory.DEFAULT_CLASS_LOADER,
                       serverLoader);
-        serverMap.put(RMIConnectorServer.DELEGATE_TO_EVENT_SERVICE,
-                Boolean.toString(eventService));
 
         // make sure no auto-close at server side
         serverMap.put("jmx.remote.x.server.connection.timeout", "888888888");