test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/JvmtiAddPath.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/JvmtiAddPath.java Wed Aug 22 09:26:43 2018
--- new/test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/JvmtiAddPath.java Wed Aug 22 09:26:42 2018
*** 111,121 ****
--- 111,120 ----
OutputAnalyzer output = TestCommon.createArchive(
appJar,
TestCommon.list("JvmtiApp", "ExtraClass", MAIN_CLASS),
use_whitebox_jar,
"-Xlog:class+load=trace",
modulePath);
TestCommon.checkDump(output);
System.out.println("Test case 1: not adding module path - Hello.class should not be found");
run(check_appcds_enabled, appJar,
*** 141,151 ****
--- 140,149 ----
System.out.println("Test case 6: add to app using AppCDS, but add to boot using JVMTI - should find Hello.class in boot loader");
output = TestCommon.createArchive(
appJar, TestCommon.list("JvmtiApp", "ExtraClass"),
use_whitebox_jar,
"-Xlog:class+load=trace",
modulePath);
TestCommon.checkDump(output);
run(twoAppJars, modulePath,
"JvmtiApp", "bootonly", addappJar, MAIN_CLASS);
test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/JvmtiAddPath.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File