From a827ff05dba0c9b7c74d83053a35c8041c1ac5cc Mon Sep 17 00:00:00 2001 From: Calvin Cheung Date: Mon, 26 Aug 2024 21:26:12 +0000 Subject: [PATCH] 8335577: runtime/cds/appcds/TestParallelGCWithCDS.java still fails with JNI error Reviewed-by: dholmes, iklam --- .../jtreg/runtime/cds/appcds/TestParallelGCWithCDS.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/hotspot/jtreg/runtime/cds/appcds/TestParallelGCWithCDS.java b/test/hotspot/jtreg/runtime/cds/appcds/TestParallelGCWithCDS.java index 3f759d13a4c..691c87fef36 100644 --- a/test/hotspot/jtreg/runtime/cds/appcds/TestParallelGCWithCDS.java +++ b/test/hotspot/jtreg/runtime/cds/appcds/TestParallelGCWithCDS.java @@ -116,8 +116,9 @@ public class TestParallelGCWithCDS { } else { String pattern = "((Too small maximum heap)" + "|(GC triggered before VM initialization completed)" + - "|(java.lang.OutOfMemoryError: Java heap space)" + - "|(Initial heap size set to a larger value than the maximum heap size))"; + "|(Initial heap size set to a larger value than the maximum heap size)" + + "|(java.lang.OutOfMemoryError)" + + "|(Error: A JNI error has occurred, please check your installation and try again))"; out.shouldMatch(pattern); out.shouldNotHaveFatalError(); }