8145408: com/sun/jdi/BreakpointWithFullGC.sh Required output "Full GC" not found
authorakulyakh
Wed, 16 Dec 2015 19:59:23 +0300
changeset 35261 0b35f1241d52
parent 35260 2d073b8f1a16
child 35262 6ffcba13c973
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
jdk/test/com/sun/jdi/BreakpointWithFullGC.sh
--- 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 \