RE: RFR 8213031: Enhance jdk.nio.zipfs to support Posix File Permissions

2018-10-26 Thread Langer, Christoph
elter, Ralf > Subject: RE: RFR 8213031: Enhance jdk.nio.zipfs to support Posix File > Permissions > > I'm not a committer/reviewer but noticed something: > > In ZipUtils.java: > > private static final Map> permCache = > new WeakHashMap<>(); > >

RE: RFR 8213031: Enhance jdk.nio.zipfs to support Posix File Permissions

2018-10-26 Thread Andrew Luo
I'm not a committer/reviewer but noticed something: In ZipUtils.java: private static final Map> permCache = new WeakHashMap<>(); This is static, and is concurrently modified, so will it cause issues if multiple threads are operating on ZIP filesystems (even if they are different objects/ZIP f