test/hotspot/jtreg/runtime/SharedArchiveFile/NonBootLoaderClasses.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File open Cdiff test/hotspot/jtreg/runtime/SharedArchiveFile/NonBootLoaderClasses.java

test/hotspot/jtreg/runtime/SharedArchiveFile/NonBootLoaderClasses.java

Print this page

        

*** 49,59 **** CDSTestUtils.createArchiveAndCheck(opts); // Print the shared dictionary and inspect the output opts = (new CDSOptions()) .setUseVersion(false) ! .addSuffix( "-cp", "\"\"", "-XX:+UnlockDiagnosticVMOptions", "-XX:SharedArchiveFile=./" + archiveName, "-XX:+PrintSharedArchiveAndExit", "-XX:+PrintSharedDictionary"); CDSTestUtils.run(opts) .assertNormalExit(output -> { output.shouldContain("archive is valid"); --- 49,59 ---- CDSTestUtils.createArchiveAndCheck(opts); // Print the shared dictionary and inspect the output opts = (new CDSOptions()) .setUseVersion(false) ! .addSuffix( "-cp", "\"\"", "-Xlog:cds", "-XX:+UnlockDiagnosticVMOptions", "-XX:SharedArchiveFile=./" + archiveName, "-XX:+PrintSharedArchiveAndExit", "-XX:+PrintSharedDictionary"); CDSTestUtils.run(opts) .assertNormalExit(output -> { output.shouldContain("archive is valid");
test/hotspot/jtreg/runtime/SharedArchiveFile/NonBootLoaderClasses.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File