< prev index next >
test/compiler/rangechecks/TestBadFoldCompare.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,36 ****
/*
* @test
* @bug 8085832
* @bug 8135069
* @summary x <= 0 || x > 0 wrongly folded as (x-1) >u -1 and x < 0 || x > -1 wrongly folded as x >u -1
! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestBadFoldCompare
*/
public class TestBadFoldCompare {
static boolean test1_taken;
static void helper1(int i, int a, int b, boolean flag) {
--- 24,40 ----
/*
* @test
* @bug 8085832
* @bug 8135069
* @summary x <= 0 || x > 0 wrongly folded as (x-1) >u -1 and x < 0 || x > -1 wrongly folded as x >u -1
! *
! * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement
! * compiler.rangechecks.TestBadFoldCompare
*/
+ package compiler.rangechecks;
+
public class TestBadFoldCompare {
static boolean test1_taken;
static void helper1(int i, int a, int b, boolean flag) {
< prev index next >