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

XMLWordPrintable

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

      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.


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

              Created:
              Updated:
              Resolved: