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

StandardJavaFileManager should support java.nio.file.Path

XMLWordPrintable

    • b46
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: