Skip to content

Commit 93c3567

Browse files
committed
8335577: runtime/cds/appcds/TestParallelGCWithCDS.java still fails with JNI error
Backport-of: a827ff05dba0c9b7c74d83053a35c8041c1ac5cc
1 parent 13cb6a4 commit 93c3567

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/hotspot/jtreg/runtime/cds/appcds/TestParallelGCWithCDS.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ static void test(boolean dumpWithParallel, boolean execWithParallel, boolean use
116116
} else {
117117
String pattern = "((Too small maximum heap)" +
118118
"|(GC triggered before VM initialization completed)" +
119-
"|(java.lang.OutOfMemoryError: Java heap space)" +
120-
"|(Initial heap size set to a larger value than the maximum heap size))";
119+
"|(Initial heap size set to a larger value than the maximum heap size)" +
120+
"|(java.lang.OutOfMemoryError)" +
121+
"|(Error: A JNI error has occurred, please check your installation and try again))";
121122
out.shouldMatch(pattern);
122123
out.shouldNotHaveFatalError();
123124
}

0 commit comments

Comments
 (0)