< prev index next >
test/compiler/loopopts/Test6659207.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,36 ****
/*
* @test
* @bug 6659207
* @summary access violation in CompilerThread0
*/
! public class Test {
static int[] array = new int[12];
static int index(int i) {
if (i == 0) return 0;
for (int n = 0; n < array.length; n++)
--- 24,40 ----
/*
* @test
* @bug 6659207
* @summary access violation in CompilerThread0
+ *
+ * @run main compiler.loopopts.Test6659207
*/
! package compiler.loopopts;
!
! public class Test6659207 {
static int[] array = new int[12];
static int index(int i) {
if (i == 0) return 0;
for (int n = 0; n < array.length; n++)
< prev index next >