Integrated: 8255576: (fs) Files.isHidden() throws ArrayIndexOutOfBoundsException (unix)

Christian Stein cstein at openjdk.java.net
Sun Nov 1 12:42:55 UTC 2020


On Fri, 30 Oct 2020 08:56:21 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("")`.

This pull request has now been integrated.

Changeset: f61ce327
Author:    Christian Stein <cstein at openjdk.org>
Committer: Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f61ce327
Stats:     13 lines in 3 files changed: 10 ins; 0 del; 3 mod

8255576: (fs) Files.isHidden() throws ArrayIndexOutOfBoundsException (unix)

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list