Incorrect javadoc of java.base module

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: core-libs
    • None
    • b19

      The javadoc of the java,base module suggests the following code to get a 'jrt:/' FileSystem:

          FileSystems.newFileSystem(URI.create("jrt:/"))

      But, this code does not compile. It should use `getFileSystem` instead of `newFileSystem`.

            Assignee:
            Raffaello Giulietti
            Reporter:
            Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: