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

StandardJavaFileManager should support java.nio.file.Path

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b46
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: