Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8160928

javac incorrectly copies over interior type annotations to bridge method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b127
    • Verification:
      Verified

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sadayapalam Srikanth Adayapalam
                Reporter:
                sadayapalam Srikanth Adayapalam
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: