On Tue, 4 Aug 2026 13:53:42 GMT, Chen Liang <[email protected]> wrote:

> This internal endpoint used only by trusted code is missing bound checks. 
> Since this endpoint leads to direct unsafe usage, we should better gatekeep 
> here.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

test/jdk/jdk/classfile/UtilTest.java line 141:

> 139:     }
> 140: 
> 141:     @Test

Would you mind extending the test with negative length values too, please?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32195#discussion_r3713736640

Reply via email to