8145408: com/sun/jdi/BreakpointWithFullGC.sh Required output "Full GC" not found
Summary: Modified the test so it correctly parses the new debug output
Reviewed-by: jbachorik
--- a/jdk/test/com/sun/jdi/BreakpointWithFullGC.sh Mon Dec 14 15:32:03 2015 +0100
+++ b/jdk/test/com/sun/jdi/BreakpointWithFullGC.sh Wed Dec 16 19:59:23 2015 +0300
@@ -121,7 +121,8 @@
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 \