-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIXED JENKINS-36991] Do not give up on classloading if loading is interrupted #94
Conversation
…terrupted while fetching ClassRefference
} | ||
|
||
ref.rememberIn(cn, ref.classLoader); | ||
// no code is allowed to reach here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IllegalStateException
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have pointed me to the fact I do not propagate exception correctly in the catch. Though, after that is fixed, javac do not let me place the statement here as it will be unreachable statement.
1f2eed1
to
5f24dcd
Compare
Updated. Ws-ignoring diff: https://github.com/jenkinsci/remoting/pull/94/files?w=1 |
Looks good to me 👍 |
LGTM, too |
Fixed issues: * [JENKINS-37140](https://issues.jenkins-ci.org/browse/JENKINS-37140) - JNLP Slave connection issue with *JNLP3-connect* protocol when the generated encrypted cookie contains a newline symbols. (jenkinsci/remoting#95) * [JENKINS-36991](https://issues.jenkins-ci.org/browse/JENKINS-36991) - Unable to load class when remote classloader gets interrupted. (jenkinsci/remoting#94) Enhancements: * Improve diagnostics for Jar Cache write errors. (jenkinsci/remoting#91)
Fixed issues: * [JENKINS-37140](https://issues.jenkins-ci.org/browse/JENKINS-37140) - JNLP Slave connection issue with *JNLP3-connect* protocol when the generated encrypted cookie contains a newline symbols. (jenkinsci/remoting#95) * [JENKINS-36991](https://issues.jenkins-ci.org/browse/JENKINS-36991) - Unable to load class when remote classloader gets interrupted. (jenkinsci/remoting#94) Enhancements: * Improve diagnostics for Jar Cache write errors. (jenkinsci/remoting#91)
… while fetching ClassRefference
Fixing JENKINS-36991, a variant of JENKINS-19453.
@jenkinsci/code-reviewers (esp. @jglick and @kohsuke)