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

Brian Burkhalter bpb at openjdk.java.net
Tue Nov 3 02:31:06 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/5d5adf47..3bcce9aa

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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