Permalink
Browse files

fixes the test for SI-7112

Freshly released Java 1.6.0_41 for OSX fails with "IllegalAccessError:
tried to access class JavaSimpleEnumeration_1 from class sun.proxy.$Proxy6",
and rightfully so, because that class isn't public.

I think I will avoid the usual "how could this even work before" in this
commit message.
  • Loading branch information...
1 parent 71a7739 commit 0ecba214dcc3c8ba4aec8d4ff5802a307f814f57 @xeno-by xeno-by committed Feb 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/files/run/reflection-java-annotations/JavaSimpleEnumeration_1.java
@@ -1,4 +1,4 @@
-enum JavaSimpleEnumeration_1 {
+public enum JavaSimpleEnumeration_1 {
FOO,
BAR
}

0 comments on commit 0ecba21

Please sign in to comment.