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

Change use of tree.pos to line:col in rawDiagnostics

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b26

      Description

      The use of character offsets for JCExpressions in raw diagnostics is clever, and more stable that hashCodes, but it is still somewhat fragile. It would be good to consider changing it to line,offset instead, which tends to be even more stable.

        Attachments

          Activity

            People

            Assignee:
            mcimadamore Maurizio Cimadamore
            Reporter:
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: