mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
File.toURL() is deprecated.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19471 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
3ec951ec1a
commit
2dd667265b
8 files changed
+15
-15
No files matched your search
@@ -83,7 +83,7 @@ class DummyClassLoader extends ClassLoader {
|
||||
os.write(loadTransformedClassImage("hudson.remoting.test.TestCallable"));
|
||||
os.close();
|
||||
f.deleteOnExit();
|
||||
return f.toURL();
|
||||
return f.toURI().toURL();
|
||||
} catch (IOException e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user