src/share/classes/com/sun/tools/javac/file/RegularFileObject.java

changeset 144
173162d6eb1d
parent 57
aa67a5da66e3
child 333
7c2d6da61646
     1.1 --- a/src/share/classes/com/sun/tools/javac/file/RegularFileObject.java	Wed Oct 15 13:20:03 2008 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javac/file/RegularFileObject.java	Thu Oct 16 07:30:13 2008 -0700
     1.3 @@ -89,6 +89,8 @@
     1.4          for (File dir: path) {
     1.5              //System.err.println("dir: " + dir);
     1.6              String dPath = dir.getPath();
     1.7 +            if (dPath.length() == 0)
     1.8 +                dPath = System.getProperty("user.dir");
     1.9              if (!dPath.endsWith(File.separator))
    1.10                  dPath += File.separator;
    1.11              if (fPath.regionMatches(true, 0, dPath, 0, dPath.length())

mercurial