--- a/langtools/src/share/classes/com/sun/tools/javac/file/FSInfo.java Fri Apr 18 08:44:53 2014 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/file/FSInfo.java Mon Apr 21 17:57:47 2014 -0400
@@ -82,8 +82,10 @@
for (StringTokenizer st = new StringTokenizer(path);
st.hasMoreTokens(); ) {
String elt = st.nextToken();
- File f = (parent == null ? new File(elt) : new File(parent, elt));
- list.add(f);
+ try {
+ File f = parent == null ? new File(elt): new File(file.toURI().resolve(elt));
+ list.add(f);
+ } catch (IllegalArgumentException ex) {}
}
return list;