[JIRA] (JENKINS-60449) Optional extensions can blow up Jenkins

3 views
Skip to first unread message

vincent@latombe.net (JIRA)

unread,
Dec 11, 2019, 12:48:02 PM12/11/19
to jenkinsc...@googlegroups.com
Vincent Latombe created an issue
 
Jenkins / Bug JENKINS-60449
Optional extensions can blow up Jenkins
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-12-11 17:47
Priority: Minor Minor
Reporter: Vincent Latombe

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jglick@cloudbees.com (JIRA)

unread,
Jan 4, 2020, 5:44:02 PM1/4/20
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Vincent Latombe
Change By: Jesse Glick
Assignee: Vincent Latombe

jglick@cloudbees.com (JIRA)

unread,
Jan 4, 2020, 5:45:03 PM1/4/20
to jenkinsc...@googlegroups.com
Change By: Jesse Glick
Status: Open Fixed but Unreleased
Resolution: Fixed
Released As: 2.212
Reply all
Reply to author
Forward
0 new messages