Ensure ClassLoaders have names for debugging (#9277)

* Ensure Classloaders have names for debugging

* update incremental version

* simplify name of UberClassloader and update since TODOs

Co-authored-by: Jesse Glick <jglick@cloudbees.com>

* use released version of remoting

* set the minimum version of remoting

* pick up backward compatable remoting version

* update from remoting incremental version to release version

https://github.com/jenkinsci/remoting/releases/tag/3248.v65ecb_254c298

---------

Co-authored-by: Jesse Glick <jglick@cloudbees.com>
This commit is contained in:
James NordandJesse Glick authored and GitHub committed 2024-05-18 09:20:56 -06:00
1 parent aaf4b64cc0
commit 94f715407c
8 files changed
+62 -14

No files matched your search

+1 -1
View File
@@ -266,7 +266,7 @@ public class Main {
// locate the Winstone launcher
ClassLoader cl;
try {
cl = new URLClassLoader(new URL[] {tmpJar.toURI().toURL()});
cl = new URLClassLoader("Jenkins Main ClassLoader", new URL[] {tmpJar.toURI().toURL()}, ClassLoader.getSystemClassLoader());
} catch (MalformedURLException e) {
throw new UncheckedIOException(e);
}