diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-02-23 02:33:23 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-02-23 02:37:34 +0100 |
commit | 89be6914af3908717ebd78cb57dcdc9ff1d8253e (patch) | |
tree | ebddd6aee8d11e5912f87abae6ec345b7683950b /test | |
parent | b1f28195e1ed84c27ddfa18e4134a95cd55d588b (diff) | |
download | scala-89be6914af3908717ebd78cb57dcdc9ff1d8253e.tar.gz scala-89be6914af3908717ebd78cb57dcdc9ff1d8253e.tar.bz2 scala-89be6914af3908717ebd78cb57dcdc9ff1d8253e.zip |
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.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/reflection-java-annotations/JavaSimpleEnumeration_1.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/reflection-java-annotations/JavaSimpleEnumeration_1.java b/test/files/run/reflection-java-annotations/JavaSimpleEnumeration_1.java index 39246141cc..5f4dcce8a7 100644 --- a/test/files/run/reflection-java-annotations/JavaSimpleEnumeration_1.java +++ b/test/files/run/reflection-java-annotations/JavaSimpleEnumeration_1.java @@ -1,4 +1,4 @@ -enum JavaSimpleEnumeration_1 { +public enum JavaSimpleEnumeration_1 { FOO, BAR }
\ No newline at end of file |