Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085479 | emb-9 | Jonathan Gibbons | P3 | Resolved | Fixed | team |
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.
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.
- backported by
-
JDK-8085479 Consolidate javac file handling in javac.file package
-
- Resolved
-
- relates to
-
JDK-8130944 JavacFileManager#setLocationFromPaths only works with the default filesystem
-
- Closed
-