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).

This pull request has now been integrated.

Changeset: ec53c3dd
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/ec53c3dd3832f9f1f577c4a4a89e0e343da9ab8b
Stats:     15 lines in 2 files changed: 12 ins; 0 del; 3 mod

8389705: RawBytecodeHelper doesn't check bounds passed to unsafe code

Reviewed-by: vyazici

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

PR: https://git.openjdk.org/jdk/pull/32195

Reply via email to