--- old/test/hotspot/jtreg/runtime/appcds/jigsaw/limitmods/LimitModsTests.java 2018-04-06 15:40:41.087950607 -0700 +++ new/test/hotspot/jtreg/runtime/appcds/jigsaw/limitmods/LimitModsTests.java 2018-04-06 15:40:40.802923728 -0700 @@ -150,14 +150,16 @@ } } } - output = TestCommon.exec( - appJar + File.pathSeparator + helperJar, + TestCommon.run( + "-cp", appJar + File.pathSeparator + helperJar, "-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", bootClassPath, "--limit-modules", limitMods, "LimitModsHelper", BOOT_ARCHIVE_CLASS, PLATFORM_ARCHIVE_CLASS, APP_ARCHIVE_CLASS, - Integer.toString(excludeModIdx)); // last 4 args passed to test - output.shouldHaveExitValue(0); + Integer.toString(excludeModIdx)) // last 4 args passed to test + .assertSilentlyDisabledCDS(out -> { + out.shouldHaveExitValue(0); + }); limitMods = null; } }