Annotations lost from classfile

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 7
    • Affects Version/s: 7
    • Component/s: tools
    • b112
    • generic
    • generic
    • Verified

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: