test/hotspot/jtreg/runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/test/hotspot/jtreg/runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java	Sun Apr  8 23:07:27 2018
--- new/test/hotspot/jtreg/runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java	Sun Apr  8 23:07:27 2018

*** 88,109 **** --- 88,103 ---- argsList.remove(argsList.size() - 1); argsList.add("useAppLoader"); opts = new String[argsList.size()]; opts = argsList.toArray(opts); TestCommon.run(opts) ! .assertSilentlyDisabledCDS(out -> { out.shouldHaveExitValue(0) .shouldContain(EXPECTED_EXCEPTION); }); ! .assertSilentlyDisabledCDS(0, EXPECTED_EXCEPTION); // case 4: load class in bootclasspath using boot loader with '--limit-modules java.base' argsList.remove(argsList.size() - 1); argsList.add("useBootLoader"); opts = new String[argsList.size()]; opts = argsList.toArray(opts); TestCommon.run(opts) ! .assertSilentlyDisabledCDS(out -> { out.shouldHaveExitValue(0) .shouldContain(EXPECTED_EXCEPTION); }); ! .assertSilentlyDisabledCDS(0, EXPECTED_EXCEPTION); } }

test/hotspot/jtreg/runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File