-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
b46
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085307 | emb-9 | Jonathan Gibbons | P3 | Resolved | Fixed | team |
java.nio.file.Path is becoming the preferred replacement for java.io.File and related API like java.util.zip.ZipFile.
We should add methods to StandardJavaFileManager to support java.nio.file.Path.
Since this is an interface, we need to be careful about compatibility. We can use default methods (added in JDK 8) to attempt to convert between Path and File for existing implementations of StandardJavaFileManager. A better implementation can override such methods to handle Path objects as desired.
We should add methods to StandardJavaFileManager to support java.nio.file.Path.
Since this is an interface, we need to be careful about compatibility. We can use default methods (added in JDK 8) to attempt to convert between Path and File for existing implementations of StandardJavaFileManager. A better implementation can override such methods to handle Path objects as desired.
- backported by
-
JDK-8085307 StandardJavaFileManager should support java.nio.file.Path
-
- Resolved
-
- relates to
-
JDK-8059976 Convert JavacFileManager to use java.nio.file internally
-
- Closed
-
-
JDK-6906175 bridge JSR199 and JSR 203 APIs
-
- Closed
-