8202130: [TESTBUG] Some appcds regression test cases fail with "Error: VM option 'PrintSystemDictionaryAtExit' is notproduct and is available only in debug version of VM"

Removed the PrintSystemDictionaryAtExit vm option from the tests

Reviewed-by: zgu
This commit is contained in:
Calvin Cheung 2018-05-01 17:28:03 -07:00
parent e8fff78093
commit e7ef03dce6
4 changed files with 5 additions and 5 deletions
test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath

@ -87,7 +87,7 @@ public class AddOpens {
// the class in the modular jar in the -cp won't be archived.
OutputAnalyzer output = TestCommon.createArchive(
destJar.toString(), appClasses,
"-Xlog:class+load=trace", "-XX:+PrintSystemDictionaryAtExit",
"-Xlog:class+load=trace",
"--module-path", moduleDir.toString(),
"-m", TEST_MODULE1);
TestCommon.checkDump(output);

@ -118,7 +118,7 @@ public class ExportModule {
// the module in the --module-path
OutputAnalyzer output = TestCommon.createArchive(
appJar.toString(), appClasses,
"-Xlog:class+load=trace", "-XX:+PrintSystemDictionaryAtExit",
"-Xlog:class+load=trace",
"--module-path", moduleDir.toString(),
"--add-modules", TEST_MODULE2, MAIN_CLASS);
TestCommon.checkDump(output);
@ -142,7 +142,7 @@ public class ExportModule {
// unnmaed.
output = TestCommon.createArchive(
appJar2.toString(), appClasses2,
"-Xlog:class+load=trace", "-XX:+PrintSystemDictionaryAtExit",
"-Xlog:class+load=trace",
"--module-path", moduleDir.toString(),
"--add-modules", TEST_MODULE2,
"--add-exports", "org.astro/org.astro=ALL-UNNAMED",

@ -88,7 +88,7 @@ public class MainModuleOnly {
// the class in the modular jar in the -cp won't be archived.
OutputAnalyzer output = TestCommon.createArchive(
destJar.toString(), appClasses,
"-Xlog:class+load=trace", "-XX:+PrintSystemDictionaryAtExit",
"-Xlog:class+load=trace",
"--module-path", moduleDir.toString(),
"-m", TEST_MODULE1);
TestCommon.checkDump(output);

@ -132,7 +132,7 @@ public class ModulePathAndCP {
String jars = subJar.toString() + System.getProperty("path.separator") +
mainJar.toString();
output = TestCommon.createArchive( jars, appClasses,
"-Xlog:class+load=trace", "-XX:+PrintSystemDictionaryAtExit",
"-Xlog:class+load=trace",
"--module-path", moduleDir.toString(),
"-m", MAIN_MODULE);
TestCommon.checkDump(output);