-
Bug
-
Resolution: Unresolved
-
P4
-
25
-
In Review
-
windows
The following code snippets should fail but do not:
1. Trailing space in a file name
File f = new File("Something ");
String s = f.getCanonicalPath();
2. Trailing space in a directory name
File f = new File("foo\\bar \\gus");
String s = f.getCanonicalPath();
1. Trailing space in a file name
File f = new File("Something ");
String s = f.getCanonicalPath();
2. Trailing space in a directory name
File f = new File("foo\\bar \\gus");
String s = f.getCanonicalPath();
- duplicates
-
JDK-8354409 Parsing a file path on Windows with a trailing space in a name element ("...\ kjdd ggf \...") is rejected
-
- Closed
-
- links to
-
Review(master) openjdk/jdk/24635