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

    Details

    • Subcomponent:
    • Verification:
      Verified

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: