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

Don't remove logging classes

    XMLWordPrintable

    Details

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

      Description

      External logging configuration files may refer to classes from the logback implementation.
      SonarLint Core included the logback implementation (it's shaded into into the package) but classes that are not used internally are excluded.
      If the class refered by a configuration file wasn't included in the package, it will result in a ClassNotFoundException at runtime.

      We should exclude logback from the minimization process during shading.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              duarte.meneses Duarte Meneses
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: