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

Remove unused and partially implemented JavacElements#getSourcePosition methods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b153
    • Verification:
      Not verified

      Description

      JavacSourcePosition's documentation says: "Implementation of model API SourcePosition based on javac internal state." That model API class does not exist, and the methods are never used in javac. They can be removed.

      `getSourcePosition(Element, AnnotationMirror, AnnotationValue)` was never implemented, and has a matching TODO to `getTreeAndTopLevel(Element, AnnotationMirror, AnnotationValue) ` (see JDK-6388543).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vromero Vicente Arturo Romero Zaldivar
                Reporter:
                cushon Liam Miller-Cushon
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: