• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • 2.212

      If you have an optional extension (using the variant plugin) that is defining a private static method which has in its signature a type from its optional dependency, then Guice will blow up when attempting to load it, causing every subsequent extensions to fail loading.

      Upon loading a new extension, the ExtensionFinder scans for potential classloading problems but doesn't catch all cases.

      Additionally, I have found that when you load a plugin dynamically, extensions are refreshed before classloader of existing plugins have been updated which lead to having Guice trying to load classes without having the right classloading.

          [JENKINS-60449] Optional extensions can blow up Jenkins

          Vincent Latombe created issue -
          Jesse Glick made changes -
          Remote Link New: This issue links to "jenkins #4393 (Web Link)" [ 24231 ]
          Jesse Glick made changes -
          Assignee New: Vincent Latombe [ vlatombe ]
          Jesse Glick made changes -
          Released As New: 2.212
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Jesse Glick made changes -
          Link New: This issue causes JENKINS-60816 [ JENKINS-60816 ]
          Basil Crow made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]
          Basil Crow made changes -
          Link New: This issue relates to JENKINS-68692 [ JENKINS-68692 ]

            vlatombe Vincent Latombe
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: