diff --git a/test/compiler/6636138/Test1.java b/test/compiler/6636138/Test1.java index 17c49836d5ed707b599df8192e60215a4efd3046..8efc9d4f192c9496628f9e20e96f2359b0eeecb1 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 07a81313b9d8446867e37bb7deea2b2d9e104d8b..27bc41060c8c5d33bda519fafc0825786bef45a8 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