Uploaded image for project: 'SonarLint Core Library'
  1. SonarLint Core Library
  2. SLCORE-334

Missing Clock in pico container

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Core
    • Labels:
      None

      Description

      In Sonar Plugin API (since 6.4) it is normally possible to get an instance of Clock using dependency injection:
      https://github.com/SonarSource/sonar-enterprise/blob/e013b7dc5ac56ac74f83f32d8aa1a8061a8d63dc/sonar-plugin-api/src/main/java/org/sonar/api/utils/System2.java#L63

      This is no working in SonarLint. We need to add one instance in the global containers.

        Attachments

          Activity

            People

            Assignee:
            jeanbaptiste.lievremont Jean-Baptiste Lievremont
            Reporter:
            julien.henry Julien Henry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: