< prev index next >
test/compiler/c2/Test6863155.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,36 ****
/**
* @test
* @bug 6863155
* @summary Server compiler generates incorrect code (x86, long, bitshift, bitmask)
*
! * @run main/othervm -Xcomp -XX:CompileOnly=Test6863155.test Test6863155
*/
public class Test6863155 {
private static long test(byte b) {
return b << 24 & 0xff000000L;
}
--- 24,40 ----
/**
* @test
* @bug 6863155
* @summary Server compiler generates incorrect code (x86, long, bitshift, bitmask)
*
! * @run main/othervm -Xcomp
! * -XX:CompileCommand=compileonly,compiler.c2.Test6863155::test
! * compiler.c2.Test6863155
*/
+ package compiler.c2;
+
public class Test6863155 {
private static long test(byte b) {
return b << 24 & 0xff000000L;
}
< prev index next >