6837906: compiler tests of 6636138 fail with IllegalAccessException
Summary: The compiler tests of 6636138 fail with an IllegalAccessException.
Reviewed-by: kvn
--- a/hotspot/test/compiler/6636138/Test1.java Tue May 05 11:02:10 2009 -0700
+++ b/hotspot/test/compiler/6636138/Test1.java Wed May 06 08:57:24 2009 -0700
@@ -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
--- a/hotspot/test/compiler/6636138/Test2.java Tue May 05 11:02:10 2009 -0700
+++ b/hotspot/test/compiler/6636138/Test2.java Wed May 06 08:57:24 2009 -0700
@@ -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