test/hotspot/jtreg/runtime/SharedArchiveFile/BootAppendTests.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/test/hotspot/jtreg/runtime/SharedArchiveFile/BootAppendTests.java	Wed Nov 22 14:21:12 2017
--- new/test/hotspot/jtreg/runtime/SharedArchiveFile/BootAppendTests.java	Wed Nov 22 14:21:11 2017

*** 167,177 **** --- 167,177 ---- public static void testBootAppendExcludedModuleClass() throws Exception { for (String mode : modes) { CDSOptions opts = (new CDSOptions()) .setXShareMode(mode).setUseVersion(false) .addPrefix("-Xbootclasspath/a:" + bootAppendJar, "-showversion", - "--limit-modules=java.base,jdk.internal.vm.compiler", "-cp", appJar) .addSuffix("-Xlog:class+load=info", APP_CLASS, BOOT_APPEND_MODULE_CLASS_NAME); OutputAnalyzer out = CDSTestUtils.runWithArchive(opts); CDSTestUtils.checkExec(out, opts, "[class,load] javax.sound.sampled.MyClass");
*** 196,206 **** --- 196,206 ---- public static void testBootAppendDuplicateExcludedModuleClass() throws Exception { for (String mode : modes) { CDSOptions opts = (new CDSOptions()) .setXShareMode(mode).setUseVersion(false) .addPrefix("-Xbootclasspath/a:" + bootAppendJar, "-showversion", - "--limit-modules=java.base,jdk.internal.vm.compiler", "-cp", appJar) .addSuffix("-Xlog:class+load=info", APP_CLASS, BOOT_APPEND_DUPLICATE_MODULE_CLASS_NAME); OutputAnalyzer out = CDSTestUtils.runWithArchive(opts); CDSTestUtils.checkExec(out, opts, "[class,load] org.omg.CORBA.Context");
*** 224,234 **** --- 224,234 ---- public static void testBootAppendClass() throws Exception { for (String mode : modes) { CDSOptions opts = (new CDSOptions()) .setXShareMode(mode).setUseVersion(false) .addPrefix("-Xbootclasspath/a:" + bootAppendJar, "-showversion", - "--limit-modules=java.base,jdk.internal.vm.compiler", "-cp", appJar) .addSuffix("-Xlog:class+load=info", APP_CLASS, BOOT_APPEND_CLASS_NAME); OutputAnalyzer out = CDSTestUtils.runWithArchive(opts); CDSTestUtils.checkExec(out, opts, "[class,load] nonjdk.myPackage.MyClass");

test/hotspot/jtreg/runtime/SharedArchiveFile/BootAppendTests.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File