< prev index next >

test/compiler/osr/TestRangeCheck.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

@@ -23,12 +23,15 @@
 
 /*
  * @test TestRangeCheck
  * @bug 8054883
  * @summary Tests that range check is not skipped
+ * @run main compiler.osr.TestRangeCheck
  */
 
+package compiler.osr;
+
 public class TestRangeCheck {
     public static void main(String args[]) {
         try {
             test();
             throw new AssertionError("Expected ArrayIndexOutOfBoundsException was not thrown");
< prev index next >