< prev index next >
test/compiler/codegen/LoadWithMask2.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 23,43 ****
/*
* @test
* @bug 8031743
* @summary loadI2L_immI broken for negative memory values
- * @run main/othervm -Xbatch -XX:CompileCommand=compileonly,*.foo* LoadWithMask2
*
*/
public class LoadWithMask2 {
static int x;
static long foo1() {
return x & 0xfffffffe;
}
static long foo2() {
return x & 0xff000000;
}
static long foo3() {
return x & 0x8abcdef1;
}
public static void main(String[] args) {
--- 23,51 ----
/*
* @test
* @bug 8031743
* @summary loadI2L_immI broken for negative memory values
*
+ * @run main/othervm -Xbatch
+ * -XX:CompileCommand=compileonly,compiler.codegen.LoadWithMask2::foo*
+ * compiler.codegen.LoadWithMask2
*/
+
+ package compiler.codegen;
+
public class LoadWithMask2 {
static int x;
+
static long foo1() {
return x & 0xfffffffe;
}
+
static long foo2() {
return x & 0xff000000;
}
+
static long foo3() {
return x & 0x8abcdef1;
}
public static void main(String[] args) {
< prev index next >