JDK-8076420 : Consolidate javac file handling in javac.file package
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-03-31
  • Updated: 2015-07-10
  • Resolved: 2015-04-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b59Fixed
Related Reports
Relates :  
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.