changeset 5808 | 3a1f603c5ca7 |
parent 5506 | 202f599c92aa |
child 7668 | d4a77089c587 |
--- a/jdk/test/java/lang/reflect/Proxy/Boxing.java Fri Jun 18 16:16:51 2010 +0100 +++ b/jdk/test/java/lang/reflect/Proxy/Boxing.java Fri Jun 18 09:35:22 2010 -0700 @@ -71,8 +71,8 @@ Random random = new Random(42); // ensure consistent test domain Test proxy = (Test) Proxy.newProxyInstance( - ClassLoader.getSystemClassLoader(), - new Class[] { Test.class }, + Test.class.getClassLoader(), + new Class<?>[] { Test.class }, new TestHandler()); for (int rep = 0; rep < REPS; rep++) {