--- old/test/hotspot/jtreg/runtime/appcds/sharedStrings/IncompatibleOptions.java 2020-01-21 14:54:41.865371718 -0800 +++ new/test/hotspot/jtreg/runtime/appcds/sharedStrings/IncompatibleOptions.java 2020-01-21 14:54:41.561365756 -0800 @@ -139,10 +139,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)