hg: jdk9/dev/jdk: 8153250: java.io.File does not handle Windows paths of the form "D:" (no path) correctly

brian.burkhalter at oracle.com brian.burkhalter at oracle.com
Fri Jan 13 22:58:58 UTC 2017


Changeset: 628ada191957
Author:    bpb
Date:      2017-01-13 14:58 -0800
URL:       http://hg.openjdk.java.net/jdk9/dev/jdk/rev/628ada191957

8153250: java.io.File does not handle Windows paths of the form "D:" (no path) correctly
Summary: When resolving a child to a parent, do not insert a file separator for Windows directory-relative paths
Reviewed-by: rriggs

! src/java.base/windows/classes/java/io/WinNTFileSystem.java
+ test/java/io/File/WinDirRelative.java



More information about the jdk9-dev-changes mailing list