< prev index next >
test/compiler/c2/Test6753639.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 25,37 ****
/**
* @test
* @bug 6753639
* @summary Strange optimisation in for loop with cyclic integer condition
*
! * @run main/othervm -Xbatch Test6753639
*/
public class Test6753639 {
public static void main(String[] args) throws InterruptedException {
int END = Integer.MAX_VALUE;
int count = 0;
for(int i = Integer.MAX_VALUE - 5; i <= END; i++) {
--- 25,39 ----
/**
* @test
* @bug 6753639
* @summary Strange optimisation in for loop with cyclic integer condition
*
! * @run main/othervm -Xbatch compiler.c2.Test6753639
*/
+ package compiler.c2;
+
public class Test6753639 {
public static void main(String[] args) throws InterruptedException {
int END = Integer.MAX_VALUE;
int count = 0;
for(int i = Integer.MAX_VALUE - 5; i <= END; i++) {
< prev index next >