Relates :
|
|
Relates :
|
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.