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:40:58 +0100 |
commit | 0ecba214dcc3c8ba4aec8d4ff5802a307f814f57 (patch) | |
tree | 99ff570cafeeb925b9ee083e43f1e05e30a41187 /test/files/run/reflection-java-annotations/JavaSimpleEnumeration_1.java | |
parent | 71a7739fc3e81c1642f358372febb91744c70cb4 (diff) | |
download | scala-0ecba214dcc3c8ba4aec8d4ff5802a307f814f57.tar.gz scala-0ecba214dcc3c8ba4aec8d4ff5802a307f814f57.tar.bz2 scala-0ecba214dcc3c8ba4aec8d4ff5802a307f814f57.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/files/run/reflection-java-annotations/JavaSimpleEnumeration_1.java')
-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 |