test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java
changeset 58056 db92a157dd70
parent 55203 8e31e083fe3c
child 58679 9c3209ff7550
child 58920 d67ebc838ab8
--- a/test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java	Mon Sep 09 18:23:39 2019 +0100
+++ b/test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java	Mon Sep 09 11:04:04 2019 -0700
@@ -130,7 +130,7 @@
     public static void loadClass(WhiteBox wb) {
       try {
         URLClassLoader ucl = new URLClassLoader(urls);
-        Class.forName("case00", false, ucl);
+        ucl.loadClass("case00");
       } catch (Exception e) {
         e.printStackTrace();
       }