-
Notifications
You must be signed in to change notification settings - Fork 728
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
Define unit tests involving arrays of empty value types #18041
Define unit tests involving arrays of empty value types #18041
Conversation
Annabelle @a7ehuo, Hang @hangshao0, may I ask you to review this change? |
I'll move it to draft for now, while we're waiting for pull request #17994 to be merged, but I don't expect to make any changes, other than those that might be requested in a review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just one very minor comment on format
test/functional/Valhalla/src/org/openj9/test/lworld/ValueTypeArrayTests.java
Outdated
Show resolved
Hide resolved
This change defines some simple unit tests that create arrays of value classes and null restricted value classes, where the classes have no fields. The objective is to ensure that allocation, assignment and comparison of flattened arrays whose elements are of length zero does not result in unexpected failures.
400840e
to
6fb2ec1
Compare
Jenkins test sanity xlinuxval jdknext |
Hang @hangshao0, now that pull request #17994 has been merged, I've moved this pull request into "Ready for review" status. |
This change defines some simple unit tests that create arrays of value classes and null restricted value classes, where the classes have no fields. The objective is to ensure that allocation, assignment and comparison of flattened arrays whose elements are of length zero does not result in unexpected failures.
related to #14027