Skip to content

JVMTI: return JVMTI_ERROR_INVALID_CLASS for invalidated jclass (-1) - #23391

Merged
gacholio merged 1 commit into
eclipse-openj9:masterfrom
babsingh:main7
Feb 23, 2026
Merged

JVMTI: return JVMTI_ERROR_INVALID_CLASS for invalidated jclass (-1)#23391
gacholio merged 1 commit into
eclipse-openj9:masterfrom
babsingh:main7

Conversation

@babsingh

Copy link
Copy Markdown
Contributor

Update JVMTI error handling to return JVMTI_ERROR_INVALID_CLASS
when an invalidated jclass that points to -1 is detected.

Related: https://github.ibm.com/runtimes/service-squad/issues/295

@babsingh
babsingh requested a review from gacholio February 23, 2026 18:41
Comment thread runtime/oti/jvmtiInternal.h Outdated
Update JVMTI error handling to return JVMTI_ERROR_INVALID_CLASS
when an invalidated jclass that points to -1 is detected.

Related: https://github.ibm.com/runtimes/service-squad/issues/295

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
@gacholio

Copy link
Copy Markdown
Contributor

jenkins test sanity amac jdk25

@gacholio
gacholio merged commit f91fe27 into eclipse-openj9:master Feb 23, 2026
6 checks passed
@gacholio

Copy link
Copy Markdown
Contributor

@pshipton Suggest we include this in the current release as it was a customer-reported issue.

@babsingh

Copy link
Copy Markdown
Contributor Author

In both 0.58 and 0.59?

@pshipton

Copy link
Copy Markdown
Member

If it's low risk it can go into 0.58, otherwise just 0.59 is fine.

@babsingh

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants