Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9641

Replace physical file system references by URI on InputFile API

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6-M1, 6.6
    • Component/s: Plugin API, Scanner
    • Labels:
      None

      Description

      java.io.File, java.io.Path, relativePath() and absolutePath() are too heavily coupled with the physical filesystem. It doesn't play well with SonarLint.

      Proposal: like in the language server protocol, keep only a single URI identifier. Most of the time it will be a file:// URI, but analyzers should also handle cases where it is not

        Attachments

          Activity

            People

            Assignee:
            julien.henry Julien Henry
            Reporter:
            julien.henry Julien Henry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: