< prev index next >

test/com/sun/jdi/BreakpointTest.java

Print this page
rev 16922 : 8177507: line number sensitive tests for jdi should be unified
Reviewed-by: duke

@@ -19,23 +19,24 @@
  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
+//    THIS TEST IS LINE NUMBER SENSITIVE
+
 /**
  *  @test
  *  @bug 6496524
+ * @key intermittent
  *  @summary Setting breakpoint in jdb crashes Hotspot JVM
- *
  *  @author jjh
  *
- *  @key intermittent
- *  @modules jdk.jdi
  *  @run build TestScaffold VMConnection TargetListener TargetAdapter
  *  @run compile -g BreakpointTest.java
  *  @run driver BreakpointTest
  */
+
 import com.sun.jdi.*;
 import com.sun.jdi.event.*;
 import com.sun.jdi.request.*;
 
 import java.util.*;

@@ -45,11 +46,10 @@
 // bkpt is hit, the debugger disables it, resumes
 // the debuggee, waits a bit, and enables the bkpt again.
 
 class BreakpointTarg {
     public final static int BKPT_LINE = 56;
-            // LINE NUMBER SENSITIVE
 
     public static long count;
     static void doit() {
         Object[] roots = new Object[200000];
         while (true) {
< prev index next >