--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java Mon Sep 08 15:51:29 2014 +0200
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java Tue Sep 09 11:55:47 2014 -0400
@@ -82,10 +82,10 @@
for (StringTokenizer st = new StringTokenizer(path);
st.hasMoreTokens(); ) {
String elt = st.nextToken();
- try {
- File f = parent == null ? new File(elt): new File(file.toURI().resolve(elt));
- list.add(f);
- } catch (IllegalArgumentException ex) {}
+ File f = new File(elt);
+ if (!f.isAbsolute() && parent != null)
+ f = new File(parent,elt).getAbsoluteFile();
+ list.add(f);
}
return list;