RFR: 8255576: (fs) Files.isHidden() throws ArrayIndexOutOfBoundsException (unix) [v3]

Alan Bateman alanb at openjdk.java.net
Sun Nov 1 09:13:55 UTC 2020


On Sat, 31 Oct 2020 20:06:04 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> This PR fixes a corner case of `Files.isHidden(Path)` where the given path is an empty path: `Path.of("")`.
>
> Christian Stein has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Wrapped call in logical assertFalse() check
>   
>   Asserting that the current directory isn't hidden.

Marked as reviewed by alanb (Reviewer).

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

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


More information about the nio-dev mailing list