< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/loaderConstraints/LoaderConstraintsTest.java

Print this page
@@ -73,11 +73,11 @@
      static String loaderClasses[] = {
          loaderMainClass
      };
  
      static void doTest() throws Exception  {
-         TestCommon.dump(appJar, appClasses, "-Xlog:cds");
+         TestCommon.dump(appJar, appClasses, "-Xlog:cds", "-XX:-PreloadSharedClasses");
          String cmdLine[] =
              TestCommon.concat("-cp", appJar,
                                "-Xlog:cds",
                                "-Xlog:class+loader+constraints=debug",
                                "--add-exports",
< prev index next >