Skip to content

Commit 92712ef

Browse files
committed
8361367: AOT ExcludedClasses.java test failed with missing constant pool logs
Reviewed-by: dholmes, kvn
1 parent 5850bf4 commit 92712ef

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/hotspot/jtreg/runtime/cds/appcds/aotCache/ExcludedClasses.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,8 @@ public String[] appCommandLine(RunMode runMode) {
9696

9797
@Override
9898
public void checkExecution(OutputAnalyzer out, RunMode runMode) {
99-
if (runMode == RunMode.TRAINING) {
100-
out.shouldMatch("aot,resolve.*reverted field.*TestApp.Foo => TestApp.Foo.ShouldBeExcluded.f:I");
101-
} else if (runMode == RunMode.ASSEMBLY) {
99+
if (runMode == RunMode.ASSEMBLY) {
102100
out.shouldNotMatch("aot,resolve.*archived field.*TestApp.Foo => TestApp.Foo.ShouldBeExcluded.f:I");
103-
out.shouldMatch("aot,resolve.*archived method.*TestApp.Foo java/lang/Integer.intValue:[(][)]I => java/lang/Integer");
104101
} else if (runMode == RunMode.PRODUCTION) {
105102
out.shouldContain("check_verification_constraint: TestApp$Foo$Taz: TestApp$Foo$ShouldBeExcludedChild must be subclass of TestApp$Foo$ShouldBeExcluded");
106103
out.shouldContain("jdk.jfr.Event source: jrt:/jdk.jfr");

0 commit comments

Comments
 (0)