On Wed, 21 Feb 2024 19:10:16 GMT, Calvin Cheung <cche...@openjdk.org> wrote:

> While generating holder classes (in `generateHolderClasses()`), don't add the 
> `MethodType` to the `invokerTypes` if will fail the check in the `build()` 
> method which would result in a `RuntimeException`.
> 
> Also updated the `MethodHandlesInvokersTest.java` under 
> `appcds/methodHandles` and `appcds/dynamicArchive/methodHandles` to check 
> that the "Failed to generate LambdaForm holder classes" error is not in the 
> output;
> 
> Passed tiers 1 - 3 testing.

This pull request has now been integrated.

Changeset: 41450e94
Author:    Calvin Cheung <cche...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/41450e94059bbdf9ee798a1fc78ef14602319567
Stats:     140 lines in 15 files changed: 92 ins; 2 del; 46 mod

8314250: CDS dump error message: Invoker type parameter must start and end with 
Object: L3I_L

Reviewed-by: iklam, matsaave

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

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

Reply via email to