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:
jglick committed 2009-07-07 18:31:24 +00:00
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;
}