Annotations on return-overridden methods also end up on bridge methods
Charles Oliver Nutter
headius at headius.com
Thu Nov 21 01:18:55 PST 2013
On Thu, Nov 21, 2013 at 2:50 AM, Joel Borggrén-Franck
<joel.franck at oracle.com> wrote:
>> What does seem to be different is that annotations attached to the
>> hand-written override are also being attached to the bridge method.
>
> I think this is a javac bug. I’ll dig around a bit and see what I find.
Filed a JRuby issue to revert the workaround, should this be fixed
before JDK8 final: https://github.com/jruby/jruby/issues/1250
- Charlie
More information about the compiler-dev
mailing list