On Sun, 25 Jul 2021 21:56:10 GMT, Lance Andersen <lan...@openjdk.org> wrote:
> Hi, > > As discussed in the > https://mail.openjdk.java.net/pipermail/core-libs-dev/2021-July/079621.html > thread, this is the revised patch to address the use of '.' and '..' within > Zip FS > > Zip FS needs to use "." and ".." as links to the current and parent > directories and cannot reliably support entries that have "." and ".." as > name elements. This patch updates Zip Fs to reject ZIP files that have > entries in the CEN that can't be used for files in a file system. > > > Mach5 tiers 1 through 3 have been run without any errors encountered . > > Best, > Lance This pull request has now been integrated. Changeset: 3e3051e2 Author: Lance Andersen <lan...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/3e3051e2ee93142983e9a3edee038e4f7b5ac0f2 Stats: 201 lines in 3 files changed: 200 ins; 0 del; 1 mod 8251329: (zipfs) Files.walkFileTree walks infinitely if zip has dir named "." inside Reviewed-by: alanb, naoto ------------- PR: https://git.openjdk.java.net/jdk/pull/4900