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

javac incorrectly copies over interior type annotations to bridge method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • tools
    • b127
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: