diff -r 460e37d40f12 -r acaa49a2768a jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java --- 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");