Skip to content

Commit a827ff0

Browse files
committedAug 26, 2024
8335577: runtime/cds/appcds/TestParallelGCWithCDS.java still fails with JNI error
Reviewed-by: dholmes, iklam
1 parent 5ecbecf commit a827ff0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

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

+3-2
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)
Please sign in to comment.