RFR 8213031: (zipfs) Add support for POSIX file permissions

Langer, Christoph christoph.langer at sap.com
Wed Feb 13 22:30:45 UTC 2019


Hi Lance,

thanks for looking.

> Just starting to take a peek at this and noticed one quick thing in your test:
> ------------
> Paths.get(System.getProperty("test.dir", "."), "testPosix.zip")
> ——————
> 
> You do not need the test.dir property  or the permission added to test.policy
> to access it,  just reference the jar and it will be created in user.dir which is
> also writable.

Hm, I thought I didn't want to mess around in "user.dir" as it can be some more global directory where you wouldn't want to leave artefacts... To me "test.dir" feels cleaner. Are there other opinions about that?

Thanks
Christoph



More information about the core-libs-dev mailing list