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

Brian Burkhalter bpb at openjdk.java.net
Tue Nov 3 19:43:54 UTC 2020


On Mon, 2 Nov 2020 20:28:33 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 450452bb
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/450452bb
Stats:     17 lines in 3 files changed: 14 ins; 0 del; 3 mod

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

Reviewed-by: rriggs, alanb

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

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


More information about the nio-dev mailing list