Skip to content

0.53: Ensure method symbol is a resolved method before requesting it #22136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

dsouzai
Copy link
Contributor

@dsouzai dsouzai commented Jun 24, 2025

cherry-pick of #22127

In J9::Compilation::getReloTypeForMethodToBeInlined, for the Abstract
Method scenario, the compiler needs the resolved method from the call
node's method symbol to determine whether the called method is abstract.
However, interface calls are treated as unresolved. This can cause a
crash.

Fix this by first checking if the method symbol is a resolved method
before acquiring it.

Signed-off-by: Irwin D'Souza <[email protected]>
@jdmpapin jdmpapin merged commit 017819f into eclipse-openj9:v0.53.0-release Jun 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants