< prev index next >

test/jdk/com/sun/jdi/DeferredStepTest.java

Print this page

        

*** 47,57 **** class DeferredStepTestTarg { static class jj1 implements Runnable { public void run() { int count = 0; ! for ( int ii = 0; ii < 10; ii++) { int intInPotato04 = 666; ++count; // @1 breakpoint System.out.println("Thread: " + Thread.currentThread().getName()); } } --- 47,57 ---- class DeferredStepTestTarg { static class jj1 implements Runnable { public void run() { int count = 0; ! for (int ii = 0; ii < 15; ii++) { int intInPotato04 = 666; ++count; // @1 breakpoint System.out.println("Thread: " + Thread.currentThread().getName()); } }
*** 59,69 **** static class jj2 implements Runnable { public void run() { int count2 = 0; ! for (int ii = 0; ii < 10; ii++) { String StringInPotato05 = "I am"; ++count2; // @2 breakpoint System.out.println("Thread: " + Thread.currentThread().getName()); } } --- 59,69 ---- static class jj2 implements Runnable { public void run() { int count2 = 0; ! for (int ii = 0; ii < 15; ii++) { String StringInPotato05 = "I am"; ++count2; // @2 breakpoint System.out.println("Thread: " + Thread.currentThread().getName()); } }
*** 170,180 **** getTestSourcePath("DeferredStepTest.java"), 2); // Run to breakpoint #1 jdb.command(JdbCommand.run()); ! // 2 cycles with 4 lines each - maximum 80 stops ! for (int i=0; i<50; i++) { next(); } } } --- 170,180 ---- getTestSourcePath("DeferredStepTest.java"), 2); // Run to breakpoint #1 jdb.command(JdbCommand.run()); ! // 2 cycles (15 iterations) with 4 lines each, 1st break at 3rd line - 58 stops ! for (int i = 0; i < 50; i++) { next(); } } }
< prev index next >