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 Aug 22 09:26:34 2018
--- new/test/hotspot/jtreg/runtime/appcds/HelloExtTest.java	Wed Aug 22 09:26:34 2018

*** 50,73 **** --- 50,73 ---- String whiteBoxJar = TestCommon.getTestJar("WhiteBox.jar"); String bootClassPath = "-Xbootclasspath/a:" + whiteBoxJar; TestCommon.dump(appJar, 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", "HelloExt") ! "-cp", appJar, bootClassPath, "-Xlog:class+load", "HelloExt") .assertNormalExit(output -> output.shouldNotMatch(pattern)); TestCommon.run("-XX:+UnlockDiagnosticVMOptions", "-XX:+WhiteBoxAPI", ! "-cp", appJar, bootClassPath, "-verbose:class", ! "-cp", appJar, bootClassPath, "-Xlog:class+load", "-XX:+PrintSharedArchiveAndExit", "-XX:+PrintSharedDictionary", "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