changeset 52219:151b990e3764

8212665: com/sun/jdi/DeferredStepTest.java: jj1 (line 57) - unexpected. lastLine=52, minLine=52, maxLine=55 Reviewed-by: jcbeyler, gadams, sspitsyn
author amenkov
date Mon, 22 Oct 2018 14:41:51 -0700
parents 111ba072921b
children 9c260a6b6471
files test/jdk/com/sun/jdi/DeferredStepTest.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/jdk/com/sun/jdi/DeferredStepTest.java	Mon Oct 22 14:31:10 2018 -0700
+++ b/test/jdk/com/sun/jdi/DeferredStepTest.java	Mon Oct 22 14:41:51 2018 -0700
@@ -49,7 +49,7 @@
         public void  run() {
             int count = 0;
 
-            for ( int ii = 0; ii < 10; ii++) {
+            for (int ii = 0; ii < 15; ii++) {
                 int intInPotato04 = 666;
                 ++count;                        // @1 breakpoint
                 System.out.println("Thread: " + Thread.currentThread().getName());
@@ -61,7 +61,7 @@
         public void run() {
             int count2 = 0;
 
-            for (int ii = 0; ii < 10; ii++) {
+            for (int ii = 0; ii < 15; ii++) {
                 String StringInPotato05 = "I am";
                 ++count2;                           // @2 breakpoint
                 System.out.println("Thread: " + Thread.currentThread().getName());
@@ -172,8 +172,8 @@
         // Run to breakpoint #1
         jdb.command(JdbCommand.run());
 
-        // 2 cycles with 4 lines each - maximum 80 stops
-        for (int i=0; i<50; i++) {
+        // 2 cycles (15 iterations) with 4 lines each, 1st break at 3rd line - 58 stops
+        for (int i = 0; i < 50; i++) {
             next();
         }
     }