On Tue, 8 Feb 2022 16:15:20 GMT, Sean Mullan <mul...@openjdk.org> wrote:

>> if ZipEntry is extended and getName() overridden then you can't trust the 
>> name. So I think you'll have extract the name rather than calling 
>> ZipEntry::getName twice. I'm almost tempted to have getInputStream(ZipEntry) 
>> be re-specified to throw IAE if the zip entry name is null.
>
> Ah, yes - good catch!

Will do.

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

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

Reply via email to