On Mon, 23 Mar 2026 14:51:25 GMT, Alan Bateman <[email protected]> wrote:

> I think we should try to avoid need to encode the name again. I'm not too 
> concerned about the comment because I would expect they are rare to see.

I agree and have pushed c8130ea which capture the encoded byte array in 
putNextEntry and passes that along to writeLOC such that we avoid introducing a 
double encoding here.

Yes, comments will be encoded twice now, but I agree with you that's less of a 
concern.

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

PR Comment: https://git.openjdk.org/jdk/pull/30319#issuecomment-4111323937

Reply via email to