--- old/test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java 2019-09-05 16:38:45.000000000 -0700 +++ new/test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java 2019-09-05 16:38:45.000000000 -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(); }