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

Annotations lost from classfile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 7
    • 7
    • tools
    • b112
    • generic
    • generic
    • Verified

    Description

      We have encountered JCK failures lately, which were tracked down to losing some annotations in class files.

      Example:
        @interface Simple { }
        interface Test<@Simple T> { }

      Compile it with an older compiler, then use javap to see RuntimeInvisibleAnnotations
      Compile it with a recent compiler, then use javap, and see RuntimeInvisibleAnnotations not there.

      Attachments

        Issue Links

          Activity

            People

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: