If the option -Djdk.io.File.enableADS=false is supplied, then the following code snippet should fail but it does not:
File f = new File("Something ");
String s = f.getCanonicalPath();
File f = new File("Something ");
String s = f.getCanonicalPath();
- relates to
-
JDK-8354409 Parsing a file path on Windows with a trailing space in a name element ("...\ kjdd ggf \...") is rejected
-
- Open
-
- links to
-
Review(master) openjdk/jdk/24635