RFR: 8263898: (fs) Files.newOutputStream on the "NUL" special device throws FileSystemException: "nul: Incorrect function" (win) [v2]
Brian Burkhalter
bpb at openjdk.java.net
Thu Mar 25 18:40:43 UTC 2021
On Thu, 25 Mar 2021 15:32:26 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> I know. I tried at the Java level first and one cannot verify the size of the NUL device from Java.
>
> it's okay to add a new method to WindowsNativeDispatcher if we need it.
Added `GetFileSizeEx()`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3183
More information about the nio-dev
mailing list