-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Pass through the remote ClassLoader
’s name
#741
Conversation
dcb8d41
to
e55daa8
Compare
d8ef923
to
96d6148
Compare
add getName to the IClassloader and set a name in the RemoteClassLoader This improves the debugability from RemoteClassloaders to understand any classloading related issues.
|
||
/** | ||
* Name of the classLoader | ||
* @since 3242 |
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.
assumes this will be the next thing released
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.
I do not think we bother with @since
in CD-versioned components, though it is possible.
ClassLoader
’s name
|
||
/** | ||
* Name of the classLoader | ||
* @since 3242 |
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.
I do not think we bother with @since
in CD-versioned components, though it is possible.
If we can not obtain the name of the classloader then add the proxies identityHashCode so they will be unique amongst all others.
Testing done
Created a version of Jenkins with a local build of this, attached a debugger to an
ssh-slaves
agent and put a breakpoint on some code that runs in the agent (from the git-client plugin) to observe classloading.See jenkinsci/jenkins#9277
Submitter checklist