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

Christian Stein cstein at openjdk.java.net
Sat Oct 31 05:31:06 UTC 2020


> 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:

  Remove try-catch block

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/952/files
  - new: https://git.openjdk.java.net/jdk/pull/952/files/80b59d80..5be30e66

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=952&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=952&range=00-01

  Stats: 6 lines in 1 file changed: 0 ins; 4 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/952.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/952/head:pull/952

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


More information about the nio-dev mailing list