Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8254876 (fs) NullPointerException not thrown when first argument to Path.of or Paths.get is null
  3. JDK-8260872

Release Note: (fs) NullPointerException Not Thrown When First Argument to Path.of or Paths.get Is null

XMLWordPrintable

    • Verified

      The var args form of `Path.of()` and `Paths.get()` method are changed in this release to throw `NullPointerException` consistently when the first parameter is null. Historically these methods missed a null check on the first parameter when invoked with more than one parameter.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: