< prev index next >

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

Print this page
*** 59,10 ***
--- 59,11 ---
  
              dump(topArchiveName,
                  "-XX:+UnlockDiagnosticVMOptions",
                  "-XX:+WhiteBoxAPI",
                  "-Xlog:class+load=debug,cds=debug,cds+dynamic=info",
+                 "-XX:-PreloadSharedClasses",
                  use_whitebox_jar,
                  "-cp", appJar, mainClass, mainArg)
                  .assertNormalExit(output -> {
                      output.shouldContain("Skipping OldProvider: Old class has been linked")
                            .shouldMatch("Skipping.LambdaContainsOldInfApp[$][$]Lambda.*0x.*:.*Old.class.has.been.linked")
< prev index next >