RFR: 8285523: Improve test java/io/FileOutputStream/OpenNUL.java

Brian Burkhalter bpb at openjdk.java.net
Thu Apr 28 16:11:35 UTC 2022


On Mon, 25 Apr 2022 04:35:13 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The new test added as part of the [JDK-8285445](https://bugs.openjdk.java.net/browse/JDK-8285445) cannot trigger that bug and pass w/ and w/o fix.
> 
> An updated test validates the "default" case when the `jdk.io.File.enableADS` property is not set, in this case the ADS should be [accepted](https://github.com/openjdk/jdk/blob/9d9f4e502f6ddc3116ed9b80f7168a1edfce839e/src/java.base/windows/classes/java/io/WinNTFileSystem.java#L59).

Marked as reviewed by bpb (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/8379


More information about the core-libs-dev mailing list