< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/NestHostOldInf.java

Print this page
*** 59,10 ***
--- 59,11 ---
               "-XX:+UnlockDiagnosticVMOptions",
               "-XX:+WhiteBoxAPI",
               "-Xlog:cds",
               "-Xlog:cds+dynamic=debug",
               "-cp", appJar,
+              "-XX:-PreloadSharedClasses",
               mainAppClass)
               .assertNormalExit(output -> {
                   output.shouldContain("Written dynamic archive 0x")
                         .shouldContain("Skipping ChildOldInf: Old class has been linked")
                         .shouldContain("Skipping OldInf: Old class has been linked")
< prev index next >