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

(zipfs) ZipDirectoryStream should provide a stream of paths that are relative to the directory

XMLWordPrintable

    • b05
    • Verified

        Consider the following:

        Path dir = fs.getPath("./META-INF");
        Files.walk(dir).forEach(System.out::println);

        This should yield an entry with path "./META-INF/MANIFEST.MF", instead the path is "META-INF/MANIFEST.MF".

        Note that JDK-8211385 partly fixes this issue but the entries need to be resolved against the directory.

              lancea Lance Andersen
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: