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

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

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 12
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lancea Lance Andersen
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: