JDK-8160928 : javac incorrectly copies over interior type annotations to bridge method
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-07-07
  • Updated: 2019-03-19
  • Resolved: 2016-07-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u202Fixed 9 b127Fixed
Related Reports
Duplicate :  
Description
See: https://bitbucket.org/typetools/jsr308-langtools/issues/56

javac incorrectly copies type annotations pertaining to target method's body
onto the bridge method. Only the type annotations in the "contract" portion
should be copied and not the ones that annotate implementation.
Comments
I have a fix under test
07-07-2016