Faulty comparison of TypeMirror objects in RoundEnvironment.getElementsAnnotatedWith implementation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 6
    • Component/s: core-libs
    • None

      javax.lang.model.TypeMirror objects should be compared for semantic equality using javax.lang.model.util.Types.isSameType rather than TypeMirror.equals. Code used to implement RoundEnvironment.getElementsAnnotatedWith uses equals for this purpose.

            Assignee:
            Joe Darcy
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: