[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-nio-dev
Subject:    Re: RFR: 8255576: (fs) Files.isHidden() throws ArrayIndexOutOfBoundsException (unix) [v3]
From:       Alan Bateman <alanb () openjdk ! java ! net>
Date:       2020-11-01 9:13:55
Message-ID: gB28-FVDeOVlFI37sqrU7Jz_HZFgQgHlbAqhQz6rauA=.fdb3d0a0-08e2-476e-af0d-72bb46f3b439 () github ! com
[Download RAW message or body]

On Sat, 31 Oct 2020 20:06:04 GMT, Christian Stein <cstein@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic