[aarch64-port-dev ] git: openjdk/aarch64-port: master: 8263898: (fs) Files.newOutputStream on the "NUL" special device throws FileSystemException: "nul: Incorrect function" (win)

Brian Burkhalter bpb at openjdk.java.net
Tue Mar 30 18:22:01 UTC 2021


Changeset: 353807c5
Author:    Brian Burkhalter <bpb at openjdk.org>
Date:      2021-03-30 18:18:37 +0000
URL:       https://git.openjdk.java.net/aarch64-port/commit/353807c5

8263898: (fs) Files.newOutputStream on the "NUL" special device throws FileSystemException: "nul: Incorrect function" (win)

Reviewed-by: jpai, alanb

! src/java.base/windows/classes/sun/nio/fs/WindowsChannelFactory.java
! src/java.base/windows/classes/sun/nio/fs/WindowsNativeDispatcher.java
! src/java.base/windows/native/libnio/fs/WindowsNativeDispatcher.c
+ test/jdk/java/nio/file/Files/NulDevice.java



More information about the aarch64-port-dev mailing list