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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 14
    • 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.


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

              Created:
              Updated:
              Resolved: