< prev index next >
test/compiler/c1/Test6756768_2.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,36 ****
/**
* @test
* @bug 6756768
* @summary C1 generates invalid code
*
! * @run main/othervm -Xcomp Test6756768_2
*/
class Test6756768_2a {
static int var = ++Test6756768_2.var;
}
public class Test6756768_2 {
--- 24,38 ----
/**
* @test
* @bug 6756768
* @summary C1 generates invalid code
*
! * @run main/othervm -Xcomp compiler.c1.Test6756768_2
*/
+ package compiler.c1;
+
class Test6756768_2a {
static int var = ++Test6756768_2.var;
}
public class Test6756768_2 {
< prev index next >