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

End position of EndElementTree is -1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b07

      Description

      See the attached test - the SourcePositions.getEndPosition(CompilationUnitTree, DocCommentTree, DocTree) returns -1 when an EndElementTree is passed as the last parameter.

        Attachments

          Activity

            People

            • Assignee:
              jlahoda Jan Lahoda
              Reporter:
              jlahoda Jan Lahoda
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: