RFR: 8263898: (fs) Files.newOutputStream on the "NUL" special device throws FileSystemException: "nul: Incorrect function" (win) [v3]
Jaikiran Pai
jpai at openjdk.java.net
Fri Mar 26 01:19:26 UTC 2021
On Thu, 25 Mar 2021 22:16:46 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> This request proposes to change the native method `WindowsNativeDispatcher.SetEndOfFile()` to succeed even if the Windows function `SetEndOfFile()` returns zero if `GetFileSizeEx()` called on the handle succeeds and reveals a file size of zero.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove whitespace
The test case (changes) looks fine to me. Thank you Brian.
-------------
Marked as reviewed by jpai (Committer).
PR: https://git.openjdk.java.net/jdk/pull/3183
More information about the nio-dev
mailing list