diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-10-20 14:03:43 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-10-20 14:09:12 +0200 |
commit | fa40ff3cd5edbf54eb2c77170f8d59861b372a5a (patch) | |
tree | 92554fd939ff73e785787c180cd38371e20d36d6 /test/files/pos/t8934a/A_1.scala | |
parent | 2b5df373638d08204b71258928289f6b39e25d5f (diff) | |
download | scala-fa40ff3cd5edbf54eb2c77170f8d59861b372a5a.tar.gz scala-fa40ff3cd5edbf54eb2c77170f8d59861b372a5a.tar.bz2 scala-fa40ff3cd5edbf54eb2c77170f8d59861b372a5a.zip |
SI-8926 default visbility RUNTIME for java annotations
When parsed from source, java annotation class symbol are lacking the
`@Retention` annotation. In mixed compilation, java annotations are
therefore emitted with visibility CLASS.
This patch conservatively uses the RUNTIME visibility in case there is
no @Retention annotation.
The real solution is to fix the Java parser, logged in SI-8928.
Diffstat (limited to 'test/files/pos/t8934a/A_1.scala')
0 files changed, 0 insertions, 0 deletions