test/hotspot/jtreg/runtime/appcds/HelloExtTest.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/test/hotspot/jtreg/runtime/appcds/HelloExtTest.java	Wed Apr 18 09:44:39 2018
--- new/test/hotspot/jtreg/runtime/appcds/HelloExtTest.java	Wed Apr 18 09:44:38 2018

*** 49,73 **** --- 49,73 ---- JarBuilder.build(true, "WhiteBox", "sun/hotspot/WhiteBox"); String whiteBoxJar = TestCommon.getTestJar("WhiteBox.jar"); String bootClassPath = "-Xbootclasspath/a:" + whiteBoxJar; TestCommon.dump(appJar, ! TestCommon.list("org/omg/CORBA/ORB", "[Ljava/lang/Comparable;"), - bootClassPath, "-verbose:class", "--add-modules", "java.corba"); ! TestCommon.list("javax/annotation/processing/FilerException", "[Ljava/lang/Comparable;"), ! bootClassPath, "-verbose:class"); String prefix = ".class.load. "; String class_pattern = ".*LambdaForm[$]MH[/][0123456789].*"; String suffix = ".*source: shared objects file.*"; String pattern = prefix + class_pattern + suffix; TestCommon.run("-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", - "-cp", appJar, bootClassPath, "-verbose:class", "--add-modules", "java.corba", "HelloExt") .assertNormalExit(output -> output.shouldNotMatch(pattern)); TestCommon.run("-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", "-cp", appJar, bootClassPath, "-verbose:class", "-XX:+PrintSharedArchiveAndExit", "-XX:+PrintSharedDictionary", - "--add-modules", "java.corba", "HelloExt") .assertNormalExit(output -> output.shouldNotMatch(class_pattern)); } }

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