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

StandardDocFileFactory should be converted to use java.nio.file.Path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b107
    • Verification:
      Not verified

      Description

      Continuing the migration from java.io.File to java.nio.file.Path, StandardDocFileFactory.StandardDocFile should be converted to use Path internally, and maybe renamed to PathDocFile.

      This will help IDEs and other tools that want to use nio filesystems for the underlying storage.

      As the code stands, there is an assumption that the underlying file system used by javadoc is the standard (java.io.File) file system. That is a potential source of internal exceptions for anyone using an alternate file system through the DocumentationTool API

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: