< prev index next >

test/compiler/c2/Test6357214.java

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

@@ -25,15 +25,18 @@
 /**
  * @test
  * @bug 6357214
  * @summary Hotspot server compiler gets integer comparison wrong
  *
- * @run main/othervm/timeout=60 -DshowAll=ffo -DeventID=444 Test6357214
+ * @run main/othervm/timeout=60 -DshowAll=ffo -DeventID=444 compiler.c2.Test6357214
  */
 
+package compiler.c2;
+
 // The test hangs after few iterations before the fix. So it fails if timeout.
-class MyResult {
+public class Test6357214 {
+    static class MyResult {
         public boolean next() {
                 return true;
         }
 
         public String getString(String in) {

@@ -61,13 +64,12 @@
                                         j=32;
                         }
                 }
                 return arr;
         }
-}
+    }
 
-public class Test6357214 {
         public static volatile boolean bollocks = true;
     public String create(String context) throws Exception {
 
         //
         // Extract HTTP parameters
< prev index next >