Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8194746 (fs) Add equivalents of Paths.get to Path interface
  3. JDK-8200079

Release Note: Add of() methods to java.nio.file.Path

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:

      Description

      Two new methods `Path of(String,String...)` and `Path of(URI)` are added to `java.nio.file.Path` to create a `Path` from a `String`, path components, or a `URI`. These methods supersede the corresponding `get()` methods in `java.nio.file.Paths` which are modified to invoke these new methods.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: