Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 132ca7cffe9162b4b04bf52d2cf13a44c0f902e0
      
https://github.com/jenkinsci/jenkins/commit/132ca7cffe9162b4b04bf52d2cf13a44c0f902e0
  Author: Oleg Nenashev <[email protected]>
  Date:   2017-04-23 (Sun, 23 Apr 2017)

  Changed paths:
    M core/src/main/java/hudson/model/AbstractItem.java
    M core/src/main/java/hudson/model/Executor.java
    M core/src/main/java/hudson/model/queue/Executables.java
    M core/src/main/java/hudson/model/queue/WorkUnit.java

  Log Message:
  -----------
  [JENKINS-43653] - Ensure AbstractItem#delete() NPE safety when checking 
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


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to