From c0cbd031f0c0edf1984f4bcbf6456989e8e85200 Mon Sep 17 00:00:00 2001 From: Alexander Kulyakhtin Date: Wed, 16 Dec 2015 19:59:23 +0300 Subject: [PATCH] 8145408: com/sun/jdi/BreakpointWithFullGC.sh Required output "Full GC" not found Modified the test so it correctly parses the new debug output Reviewed-by: jbachorik --- jdk/test/com/sun/jdi/BreakpointWithFullGC.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jdk/test/com/sun/jdi/BreakpointWithFullGC.sh b/jdk/test/com/sun/jdi/BreakpointWithFullGC.sh index f7bcb89e715..81baff826e4 100644 --- a/jdk/test/com/sun/jdi/BreakpointWithFullGC.sh +++ b/jdk/test/com/sun/jdi/BreakpointWithFullGC.sh @@ -121,7 +121,8 @@ jdbFailIfNotPresent 'System\..*bottom of loop' jdbFailIfNotPresent 'System\..*end of test' # make sure we had at least one full GC -debuggeeFailIfNotPresent 'Full GC' +# Prior to JDK9-B95, the pattern was 'Full GC' +debuggeeMatchRegexp '^.*?\bPause Full\b\(System.gc\(\)\)\b.*?$' # check for error message due to thread ID change debuggeeFailIfPresent \