JDK 9 RFR of 8152272: Unable to create temporary file using createTempFile method if System.getProperty("file.separator") is used
Roger Riggs
Roger.Riggs at Oracle.com
Tue Jan 10 18:23:53 UTC 2017
Hi Brian,
Looks fine.
Roger
On 1/5/2017 7:54 PM, Brian Burkhalter wrote:
> Please review at your convenience.
>
> Issue: https://bugs.openjdk.java.net/browse/JDK-8152272
> Patch: http://cr.openjdk.java.net/~bpb/8152272/webrev.00/
>
> 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?”
>
> Thanks,
>
> Brian
More information about the nio-dev
mailing list