Skip to content
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

Throw IdentityException in monitorenter #19774

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

theresa-m
Copy link
Contributor

  • update monitorenter exception to IdentityException

This issue also exposed an issue with recent changes to J9_IS_CLASSFILE_VALUETYPE and J9ROMCLASS_IS_VALUE. Adding IdentityException to the test cases forced the tests to compile as 67.65535 instead of 67.0 and caused ValueTypeTest.testIsValueClassOnInterface to fail. Classes with ACC_IDENTITY are not considered value classes but they also cannot have ACC_IDENTITY flag set.

Fixes: #19464

@theresa-m theresa-m added comp:vm project:valhalla Used to track Project Valhalla related work labels Jun 27, 2024
@theresa-m theresa-m requested a review from hangshao0 June 27, 2024 19:43
@hangshao0
Copy link
Contributor

Jenkins test sanity,extended zlinuxval jdknext

@hangshao0
Copy link
Contributor

Jenkins test sanity,extended amac jdk21

...if class is value type

Signed-off-by: Theresa Mammarella <[email protected]>
@theresa-m
Copy link
Contributor Author

I updated the change to fix the failing test _ValueTypeTestsJIT_0

@hangshao0
Copy link
Contributor

Jenkins test sanity,extended zlinuxval jdknext

@hangshao0 hangshao0 merged commit d946965 into eclipse-openj9:master Jul 5, 2024
6 checks passed
@theresa-m theresa-m deleted the fix_19464 branch October 11, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm project:valhalla Used to track Project Valhalla related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

monitorenter should throw IdentityException on Value Objects
3 participants