КАК JDK-8212665: com/sun/jdi/DeferredStepTest.java: jj1 (line 57) - unexpected. lastLine=52, minLine=52, maxLine=55

Alex Menkov alexey.menkov at oracle.com
Thu Oct 18 22:42:29 UTC 2018


Hi all,

Please review small test fix for
https://bugs.openjdk.java.net/browse/JDK-8212665
webrev:
http://cr.openjdk.java.net/~amenkov/deferredStep_endOfCycle/webrev/

The test verifies that after "next" command debugger always stops in the 
position within loops. Each thread has maximum 40 stops (10 iterations, 
4 lines each), but with 50 "next" command it's possible that one of the 
thread exits the loop.
The fix increments loops to make 15 iterations, so each thread has more 
than 50 stops.

--alex


More information about the serviceability-dev mailing list