RFR: 8349812: (fs) Files.newByteChannel with empty path name and CREATE_NEW throws unexpected exception [v2]

Maxim Kartashev mkartashev at openjdk.org
Wed Feb 12 08:43:47 UTC 2025


On Tue, 11 Feb 2025 16:03:49 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> test/jdk/java/nio/file/Files/SBC.java line 66:
>> 
>>> 64:             unsupportedOptions(dir);
>>> 65:             nullTests(dir);
>>> 66:             emptyPathTest();
>> 
>> I think the `@bug` of this test would also have to be updated to include `8349812`.
>
>> I think the `@bug` of this test would also have to be updated to include `8349812`.
> 
> Also, the copyright year update is missing in both files. I'll approve this once those three changes are made. Whether other tests for empty paths are needed can be evaluated separately.

Addressed both concerns with the new commit, thanks!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23560#discussion_r1952208147


More information about the nio-dev mailing list