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

javac incorrectly copies over interior type annotations to bridge method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • None
    • tools
    • b127
    • 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

                sadayapalam Srikanth Adayapalam (Inactive)
                sadayapalam Srikanth Adayapalam (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: