changeset 777:f53b154d959d

6837906: compiler tests of 6636138 fail with IllegalAccessException Summary: The compiler tests of 6636138 fail with an IllegalAccessException. Reviewed-by: kvn
author twisti
date Wed, 06 May 2009 08:57:24 -0700
parents 36ee9b69616e
children f2954231d190
files test/compiler/6636138/Test1.java test/compiler/6636138/Test2.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/compiler/6636138/Test1.java	Tue May 05 11:02:10 2009 -0700
+++ b/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/test/compiler/6636138/Test2.java	Tue May 05 11:02:10 2009 -0700
+++ b/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