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

Faulty comparison of TypeMirror objects in RoundEnvironment.getElementsAnnotatedWith implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 6
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: