< prev index next >
test/compiler/codegen/Test6814842.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,36 ****
/**
* @test
* @bug 6814842
* @summary Load shortening optimizations
*
! * @run main/othervm -Xcomp -XX:CompileOnly=Test6814842.loadS2B,Test6814842.loadS2Bmask255,Test6814842.loadUS2B,Test6814842.loadUS2Bmask255,Test6814842.loadI2B,Test6814842.loadI2Bmask255,Test6814842.loadI2S,Test6814842.loadI2Smask255,Test6814842.loadI2Smask65535,Test6814842.loadI2US,Test6814842.loadI2USmask255,Test6814842.loadI2USmask65535 Test6814842
*/
public class Test6814842 {
static final short[] sa = new short[] { (short) 0xF1F2 };
static final char[] ca = new char[] { (char) 0xF3F4 };
static final int[] ia = new int[] { 0xF1F2F3F4 };
--- 24,40 ----
/**
* @test
* @bug 6814842
* @summary Load shortening optimizations
*
! * @run main/othervm -Xcomp
! * -XX:CompileCommand=compileonly,compiler.codegen.Test6814842::load*
! * compiler.codegen.Test6814842
*/
+ package compiler.codegen;
+
public class Test6814842 {
static final short[] sa = new short[] { (short) 0xF1F2 };
static final char[] ca = new char[] { (char) 0xF3F4 };
static final int[] ia = new int[] { 0xF1F2F3F4 };
< prev index next >