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

test/hotspot/jtreg/runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java

Print this page
rev 49650 : [mq]: module_path

*** 87,101 **** argsList.add(1, "java.base"); argsList.remove(argsList.size() - 1); argsList.add("useAppLoader"); opts = new String[argsList.size()]; opts = argsList.toArray(opts); ! TestCommon.run(opts).assertNormalExit(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).assertNormalExit(EXPECTED_EXCEPTION); } } --- 87,103 ---- argsList.add(1, "java.base"); argsList.remove(argsList.size() - 1); argsList.add("useAppLoader"); opts = new String[argsList.size()]; opts = argsList.toArray(opts); ! TestCommon.run(opts) ! .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(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