On Wed, 15 Jul 2026 21:21:01 GMT, Chen Liang <[email protected]> wrote:

> The factory of DirectMethodHandleDesc does not validate the name if the 
> refKind is newInvokeSpecial. Therefore we need explicit manual validation.
> 
> ---------
> - [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: 479d43dc
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/479d43dc63674e9d7e6b543a899e76e070a632fc
Stats:     21 lines in 2 files changed: 14 ins; 0 del; 7 mod

8388362: Class-File API MethodHandleEntry symbolic accessors do not throw 
IllegalArgumentException for invalid REF_newInvokeSpecial data

Reviewed-by: asotona

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

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

Reply via email to