RFR: 8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside [v4]
Alan Bateman
alanb at openjdk.java.net
Fri Jul 23 10:40:09 UTC 2021
On Fri, 23 Jul 2021 08:47:46 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> This part I didn't understand. Did you mean to refer some other JBS issue? Because from what I see in https://bugs.openjdk.java.net/browse/JDK-8251329 there's no patch attached to it (unless of course it's restricted to specific JBS user roles?).
I wasn't suggesting there is a patch attached to that issue. Rather I was just pointing out that JDK-8251329 was being worked on already before this PR was created. Lance's initial patch for JDK-8251329 changed ZipPath::getResolvedPath when creating the inode entry but that approach leads to anomalies. Overall I think the discussion has been useful but I don't think it's feasible to have a file system view over entries that look like links to the current or parent directory.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4604
More information about the nio-dev
mailing list