src/share/classes/sun/misc/Launcher.java

Print this page
rev 10449 : [mq]: cds

@@ -459,10 +459,15 @@
         return path;
     }
 
     private static URLStreamHandler fileHandler;
 
+    // Called by VM
+    static URL getFileURL(String file) {
+        return getFileURL(new File(file));
+    }
+
     static URL getFileURL(File file) {
         try {
             file = file.getCanonicalFile();
         } catch (IOException e) {}