< prev index next >
test/compiler/loopopts/Test7044738.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -25,22 +25,26 @@
/**
* @test
* @bug 7044738
* @summary Loop unroll optimization causes incorrect result
*
- * @run main/othervm -Xbatch Test7044738
+ * @run main/othervm -Xbatch compiler.loopopts.Test7044738
*/
+package compiler.loopopts;
+
public class Test7044738 {
private static final int INITSIZE = 10000;
- public int d[] = { 1, 2, 3, 4 };
+ public int d[] = {1, 2, 3, 4};
public int i, size;
private static int iter = 5;
- boolean done() { return (--iter > 0); }
+ boolean done() {
+ return (--iter > 0);
+ }
public static void main(String args[]) {
Test7044738 t = new Test7044738();
t.test();
}
@@ -98,7 +102,6 @@
System.exit(97);
}
}
return d[3];
}
-
}
< prev index next >