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:44 UTC 2021
On Thu, 25 Mar 2021 15:25:06 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> test/jdk/java/nio/file/Files/NullDevice.java line 34:
>>
>>> 32: * @run main NullDevice
>>> 33: */
>>> 34: public class NullDevice {
>>
>> Hello Brian,
>>
>> Given what's being tested here, perhaps this test should only be run against Windows OS? So maybe something like `@requires os.family=="windows"`?
>
> You are correct, I intended to but forgot to add that.
Added suggested `@requires`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3183
More information about the nio-dev
mailing list