RFR: 8286594: (zipfs) Mention paths with dot elements in ZipException and cleanups

Christoph Langer clanger at openjdk.java.net
Sat May 14 11:00:52 UTC 2022


On Wed, 11 May 2022 19:20:15 GMT, Lance Andersen <lancea at openjdk.org> wrote:

>> This augments the ZipException upon rejecting a Zip File containing entry names with "." or ".." elements.
>> 
>> It furthermore tries to clean up & compact the logic for detecting "." and ".." and it adds a method IndexNode::nameAsString to return the node name as a String.
>
> Looks good Christoph.  Thank you for separating this out from the other PR

Thanks @LanceAndersen for the review.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8655


More information about the core-libs-dev mailing list