Index: modules/luni/src/main/java/java/io/File.java =================================================================== --- modules/luni/src/main/java/java/io/File.java (revision 395578) +++ modules/luni/src/main/java/java/io/File.java (working copy) @@ -97,7 +97,7 @@ public File(File dir, String name) { if (name != null) { if (dir == null) { - this.path = name; + this.path = fixSlashes(name); } else { this.path = calculatePath(dir.getPath(),name); } @@ -128,7 +128,7 @@ public File(String dirPath, String name) { if (name != null) { if (dirPath == null) { - this.path = name; + this.path = fixSlashes(name); } else { this.path = calculatePath(dirPath, name); }