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

Brian Burkhalter bpb at openjdk.java.net
Mon Nov 2 22:09: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 two additional commits since the last revision:

 - 8254876: (fs) NullPointerException not thrown when first argument to Path.of or Paths.get is null
 - 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/7230ae92..5d5adf47

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

  Stats: 8 lines in 2 files changed: 2 ins; 6 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