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

Consolidate javac file handling in javac.file package

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b59
    • Verification:
      Verified

      Backports

        Description

        In JDK 8, experimental support for nio filesystems was added to javac in a new package, com.sun.tools.javac.nio.

        Official support for javac.nio.file.Path has now been added to the StandardJavaFileManager API, largely superceding the expeimental support, which was never publicly announced.

        We should delete unnecessary classes from com.sun.tools.javac.nio and move remaining ones to com.sun.tools.javac.file, thereby eliminating the javac.nio package.

        In addition, a number of methods on file.Locations hac be removed, and access on other methods changed to default (package-private) access.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: