Skip to content
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

Merged
merged 2 commits into from
Aug 3, 2016

Conversation

olivergondza
Copy link
Member

… while fetching ClassRefference

Fixing JENKINS-36991, a variant of JENKINS-19453.

@jenkinsci/code-reviewers (esp. @jglick and @kohsuke)

@olivergondza olivergondza changed the title [FIXED JENKINS-36991] Do not give up on classloading if loading is terrupted [FIXED JENKINS-36991] Do not give up on classloading if loading is interrupted Jul 29, 2016
}

ref.rememberIn(cn, ref.classLoader);
// no code is allowed to reach here
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IllegalStateException?

Copy link
Member Author

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.

@olivergondza
Copy link
Member Author

Updated. Ws-ignoring diff: https://github.com/jenkinsci/remoting/pull/94/files?w=1

@oleg-nenashev
Copy link
Member

Looks good to me 👍

@kohsuke
Copy link
Member

kohsuke commented Aug 3, 2016

LGTM, too

@oleg-nenashev oleg-nenashev merged commit fe2feff into jenkinsci:master Aug 3, 2016
oleg-nenashev added a commit that referenced this pull request Aug 5, 2016
oleg-nenashev added a commit to oleg-nenashev/jenkins that referenced this pull request Aug 6, 2016
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)
oleg-nenashev added a commit to jenkinsci/jenkins that referenced this pull request Aug 6, 2016
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants