On Thu, 10 Jul 2025 21:47:35 GMT, Chen Liang <li...@openjdk.org> wrote:

> Noticed this error when I was verifying all sizes are u2 compatible and 
> verified with a test that fails on mainline with ConstantPoolException 
> (because we write a size of 2 with 1-length list content) and works in this 
> patch. Problem wasn't discovered before because we use the `handlersSize < 
> handlers.size()` instead of `handlersSize != handlers.size()` check.
> 
> Testing: jdk/jdk/classfile

Good catch!

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

Marked as reviewed by asotona (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26255#pullrequestreview-3010497724

Reply via email to