Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8229019

(fs) Improve documentation of java.nio.file.Paths

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 14
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      A DESCRIPTION OF THE PROBLEM :
      The documentation on the method Paths.get(String, String...) is insufficient. If I call the method
          Paths.get("/foo/bar/gus");
      I expect to have an path that express a hierarchial folder structure in a deepness of 3. But since "/" might be an valid character in an folder name (in example in JFS). It might be one file-system element.

      This is an request for clarification in the JavaDoc.

      Since this information can offer runtime-system-details to the public, the clarification in the JavaDoc has security relevance.


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: