RFR: 8280409: JarFile::getInputStream can fail with NPE accessing ze.getName() [v4]

Lance Andersen lancea at openjdk.java.net
Fri Feb 18 19:26:46 UTC 2022


On Fri, 18 Feb 2022 17:20:26 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > If you feel there is still something lacking for documentation, I can certainly make another pass clarify/add it, but I tried to cover the steps (but I also understand what might be obvious to me might not be as obvious as I thought).
> 
> Yes, I think clear instructions are important to have for tests like this. It doesn't need much but what you know is scattered across a method and a comment on a byte array, just not clear/easy.

Ok, thank you for the feedback.  I just pushed a change with additional comments on the jar creation which hopefully will address your input above.

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

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



More information about the security-dev mailing list