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

Faulty comparison of TypeMirror objects in RoundEnvironment.getElementsAnnotatedWith implementation

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: