Uploaded image for project: 'SonarLint Core Library and Language Server'
  1. SonarLint Core Library and Language Server
  2. SLCORE-199

sonar-channel should not be visible to plugin classloader

    Details

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

      Description

      Some plugins still rely on sonar-channel and sonar-channel uses slf4j. Currently, sonarlint-core shades sonar-channel to have it available for the plugins.
      However, this means that the classes from sonar-channel are loaded by sonarlint's classloader and not by the plugins' classloader.
      As a result, slf4j classes are not found, since our slf4j-to-sonarlog bridge is only available in the plugins' classloader.

      We should package sonar-channel as a jar in sonarlint-core and make it available in the plugins' classloader.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julien.henry Julien Henry
                Reporter:
                duarte.meneses Duarte Meneses
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: