Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-43653] - Ensure AbstractItem#delete() NPE safety when checki…
…ng executors (#2854) * [JENKINS-43653] - Ensure AbstractItem#delete() NPE and RTE safety when checking executors. This change adds missing NPE checks and also improves handling of Executables#getParentOf(), which may throw undocumented Runtime exceptions if Executable uses core API below 1.377 and does not implement getParent(). Executor#stop() has been also modified to explicitly handle the issue though there is still the same issue with estimated execution times. * [JENKINS-43653] - Address comments from @jglick, restrict newly introduced API * [JENKINS-43653] - Address comments from @stephenc * [JENKINS-43653] - Cleanup "unrelevant" changes to make @stephenc and @jglick happy * [JENKINS-43653] - Cleanup the leftover * [JENKINS-43653] - Drop the changes in Executables
- Loading branch information
1 parent
cdb45dd
commit 132ca7c
Showing
4 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters