Disposer.requiresWorkspace is final#134
Conversation
…nd looking for any other failures
Zastai
left a comment
There was a problem hiding this comment.
Not sure it makes sense to do this without also changing the other TODOs related to 2.258, but I have nothing against it either.
|
Looks like with this change, the test fails on Jenkins < 2.258 (not unexpected) because SimpleBuildWrapper always requires a workspace there. |
|
A follow up can bump the baseline to 2.263 and delete reflection, but I thought I would file the minimal patch needed for PCT. |
Hmm because of . So the attempt to make this system usable by plugins with an older core dep never actually worked. |
|
Time to get rid of reflection. I am just going to update the baseline already. |
|
|
#123 mistakenly kept an override of
Disposer.requiresWorkspace, which in the ultimate version of the API was not necessary (this method need only be overridden inSimpleBuildWrapper), and is in factfinal. Because of reflection, this mistake was not noticed until PCT uncovered it in jenkinsci/bom#339.