< prev index next >

test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java

Print this page

        

@@ -128,11 +128,11 @@
     }
 
     public static void loadClass(WhiteBox wb) {
       try {
         URLClassLoader ucl = new URLClassLoader(urls);
-        ucl.loadClass("case00");
+        Class.forName("case00", false, ucl);
       } catch (Exception e) {
         e.printStackTrace();
       }
     }
   }
< prev index next >