Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
-
2.212
Description
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.
Attachments
Issue Links
- causes
-
JENKINS-60816 ExtensionFinder Failed to resolve interface when resolving descriptor with injected interface
-
- Resolved
-
- relates to
-
JENKINS-68692 Upgrade Guice from 5.0.1 to 5.1.0
-
- Closed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Remote Link | This issue links to "jenkins #4393 (Web Link)" [ 24231 ] |
Assignee | Vincent Latombe [ vlatombe ] |
Released As | 2.212 | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Fixed but Unreleased [ 10203 ] |
Link |
This issue causes |
Status | Fixed but Unreleased [ 10203 ] | Closed [ 6 ] |
Link |
This issue relates to |