test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/ExportModule.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/ExportModule.java	Wed Aug 22 09:26:42 2018
--- new/test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/ExportModule.java	Wed Aug 22 09:26:42 2018

*** 116,126 **** --- 116,125 ---- // previous step and the main class from the modular jar in the -cp // note: the main class is in the modular jar in the -cp which requires // the module in the --module-path OutputAnalyzer output = TestCommon.createArchive( appJar.toString(), appClasses, "-Xlog:class+load=trace", "--module-path", moduleDir.toString(), "--add-modules", TEST_MODULE2, MAIN_CLASS); TestCommon.checkDump(output); // run it using the archive
*** 140,150 **** --- 139,148 ---- // note: the org.astro package needs to be exported to "ALL-UNNAMED" // module since the jar in the -cp is a non-modular jar and thus it is // unnmaed. output = TestCommon.createArchive( appJar2.toString(), appClasses2, "-Xlog:class+load=trace", "--module-path", moduleDir.toString(), "--add-modules", TEST_MODULE2, "--add-exports", "org.astro/org.astro=ALL-UNNAMED", UNNAMED_MAIN); TestCommon.checkDump(output);

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