Skip to content

Conversation

graalvmbot
Copy link
Collaborator

TypeSwitch lambda forms contain a reference to a NamedFunction with a non null intrinsicData representing the number of case of the switch.
This needs to be included in the hash computation to avoid conflicts.
This also implies that the resolvedHandle needs to be included in the hash even for non null members.

Additionally, since MethodHandleInvokerRenamingSubstitutionProcessor is tied to the implementation of MethodHandle and LambdaForm, this PR adds @BasedOnJDKClass annotations to monitor the changes in the JDK.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 17, 2024
@graalvmbot graalvmbot closed this Dec 17, 2024
@graalvmbot graalvmbot deleted the scoppey/GR-60508/type-switch-lambda-form branch December 17, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants