< prev index next >
test/compiler/c2/Test6958485.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,38 ****
/**
* @test
* @bug 6958485
* @summary fix for 6879921 was insufficient
*
! * @run main/othervm -Xbatch -XX:CompileOnly=Test.init Test
*/
! public class Test {
public static void init(Object src[], boolean[] dst) {
// initialize the arrays
for (int i =0; i<src.length; i++) {
dst[i] = src[i] != null ? false : true;
}
--- 24,42 ----
/**
* @test
* @bug 6958485
* @summary fix for 6879921 was insufficient
*
! * @run main/othervm -Xbatch
! * -XX:CompileCommand=compileonly,compiler.c2.Test6958485::init
! * compiler.c2.Test6958485
*/
! package compiler.c2;
+ public class Test6958485 {
+
public static void init(Object src[], boolean[] dst) {
// initialize the arrays
for (int i =0; i<src.length; i++) {
dst[i] = src[i] != null ? false : true;
}
< prev index next >