diff -r 25048be67f4a -r 187c84a5efe1 test/hotspot/jtreg/runtime/appcds/sharedStrings/IncompatibleOptions.java --- a/test/hotspot/jtreg/runtime/appcds/sharedStrings/IncompatibleOptions.java Wed Aug 22 16:06:51 2018 +0100 +++ b/test/hotspot/jtreg/runtime/appcds/sharedStrings/IncompatibleOptions.java Tue Aug 14 09:59:37 2018 -0700 @@ -141,10 +141,10 @@ // main class param, and fails with "Could not find or load main class" if (!extraOption.isEmpty()) { output = TestCommon.exec(appJar, "-XX:+UseCompressedOops", - collectorOption, extraOption, "HelloString"); + collectorOption, "-Xlog:cds", extraOption, "HelloString"); } else { output = TestCommon.exec(appJar, "-XX:+UseCompressedOops", - collectorOption, "HelloString"); + collectorOption, "-Xlog:cds", "HelloString"); } if (expectedWarning != null)