< prev index next >

test/compiler/c1/Test6758234.java

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

*** 23,35 **** /** * @test * @bug 6758234 * @summary if (k cond (a ? : b: c)) returns reversed answer if k is constant and b and c are longs ! * @run main/othervm -Xcomp -XX:CompileOnly=Test6758234.main Test6758234 */ public class Test6758234 { static int x = 0; static int y = 1; public static void main(String[] args) { --- 23,40 ---- /** * @test * @bug 6758234 * @summary if (k cond (a ? : b: c)) returns reversed answer if k is constant and b and c are longs ! * ! * @run main/othervm -Xcomp ! * -XX:CompileCommand=compileonly,compiler.c1.Test6758234::main ! * compiler.c1.Test6758234 */ + package compiler.c1; + public class Test6758234 { static int x = 0; static int y = 1; public static void main(String[] args) {
< prev index next >