< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/RewriteBytecodesTest.java

Print this page

        

*** 22,32 **** * */ /* * @test ! * @summary Use ClassLoader.defineClass() to load a class with rewritten bytecode. Make sure * the archived class with the same name is not loaded. * @requires vm.cds * @library /test/lib * @modules java.base/jdk.internal.misc * java.management --- 22,32 ---- * */ /* * @test ! * @summary Use Lookup.defineClass() to load a class with rewritten bytecode. Make sure * the archived class with the same name is not loaded. * @requires vm.cds * @library /test/lib * @modules java.base/jdk.internal.misc * java.management
*** 52,62 **** // command-line arguments ... use_whitebox_jar); OutputAnalyzer output = TestCommon.exec(appJar, // command-line arguments ... - "--add-opens=java.base/java.lang=ALL-UNNAMED", use_whitebox_jar, "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", "RewriteBytecodes", superClsFile); TestCommon.checkExec(output); --- 52,61 ----
< prev index next >