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 b1f2819 commit 89be6914af3908717ebd78cb57dcdc9ff1d8253e @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 89be691

Please sign in to comment.