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

Consolidate javac file handling in javac.file package

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • tools
    • b59
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: