From b68646eb9c0e4899c8f67809bd9e365f3d9b5c19 Mon Sep 17 00:00:00 2001 From: twisti Date: Wed, 6 May 2009 08:57:24 -0700 Subject: [PATCH] 6837906: compiler tests of 6636138 fail with IllegalAccessException Summary: The compiler tests of 6636138 fail with an IllegalAccessException. Reviewed-by: kvn --- test/compiler/6636138/Test1.java | 2 +- test/compiler/6636138/Test2.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/compiler/6636138/Test1.java b/test/compiler/6636138/Test1.java index 17c49836d..8efc9d4f1 100644 --- a/test/compiler/6636138/Test1.java +++ b/test/compiler/6636138/Test1.java @@ -29,7 +29,7 @@ * @run main/othervm -server -Xbatch -XX:CompileOnly=Test1.init Test1 */ -class Test1 { +public class Test1 { public static void init(int src[], int [] dst, int[] ref) { // initialize the arrays diff --git a/test/compiler/6636138/Test2.java b/test/compiler/6636138/Test2.java index 07a81313b..27bc41060 100644 --- a/test/compiler/6636138/Test2.java +++ b/test/compiler/6636138/Test2.java @@ -29,7 +29,7 @@ * @run main/othervm -server -Xbatch -XX:CompileOnly=Test2.shift Test2 */ -class Test2 { +public class Test2 { public static void init(int src[]) { // Initialize the array -- GitLab