RFR: 8285445: cannot open file "NUL:"
Alan Bateman
alanb at openjdk.java.net
Sat Apr 23 15:27:19 UTC 2022
On Sat, 23 Apr 2022 12:35:24 GMT, David M. Lloyd <duke at openjdk.java.net> wrote:
> FWIW we fixed the same problem by simply using `NUL` instead of `NUL:`.
Hopefully newer code can use OutputStream.nullOutputStream(). It's portable and avoids depending on these legacy Windows specific reserved names.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8373
More information about the core-libs-dev
mailing list