JDK 9 RFR of 8152272: Unable to create temporary file using createTempFile method if System.getProperty("file.separator") is used
brian.burkhalter at oracle.com
Fri Jan 6 00:54:43 UTC 2017
Please review at your convenience.
Normalize the file name component of the temporary file path. This at least makes the behavior of java.io.File.createTempFile() consistent with that of java.nio.file.Files.createTempFile(). Or would it be better simply to continue to throw the IOException in this situation in which case the bug may be resolved as “Not an Issue” or “Wont Fix?”
More information about the nio-dev