RFR: 8254876: (fs) NullPointerException not thrown when first argument to Path.of or Paths.get is null [v4]

Brian Burkhalter bpb at openjdk.java.net
Tue Nov 3 18:13:09 UTC 2020


> Please review this simple fix to have Path.of(String,String) throw a NullPointerException if the first parameter is null.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8254876: (fs) NullPointerException not thrown when first argument to Path.of or Paths.get is null

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1020/files
  - new: https://git.openjdk.java.net/jdk/pull/1020/files/3bcce9aa..30a7fc6a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1020&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1020&range=02-03

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

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


More information about the nio-dev mailing list