--- old/test/hotspot/jtreg/runtime/appcds/sharedStrings/IncompatibleOptions.java 2018-08-14 19:23:13.098050842 -0700 +++ new/test/hotspot/jtreg/runtime/appcds/sharedStrings/IncompatibleOptions.java 2018-08-14 19:23:12.774038456 -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)