-
Notifications
You must be signed in to change notification settings - Fork 397
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
Check if an array class can be trusted as a fixed class #7579
Check if an array class can be trusted as a fixed class #7579
Conversation
@hzongaro May I ask you to review this change? Thank you! |
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.
I think the changes look correct, but I have a couple of thoughts about how things might be arranged differently.
c197ea8
to
2cb7621
Compare
@hzongaro All comments are addressed. Ready for another review. Thank you! |
2cb7621
to
c51517f
Compare
@hzongaro All comments are addressed in c51517f. The downstream implementation is in eclipse-openj9/openj9#20853. Ready for another review. Thank you! |
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.
I think these changes look good. Thanks!
Jenkins build all |
Sorry. I just noticed that the commit comment still talks about null-restricted arrays. May I ask you to adjust the comment to speak more generally about how downstream projects might have different conditions under which array classes can be trusted to be fixed classes? Also, please remove the reference to the OpenJ9 pull request from the commit comment. |
There are cases where two different array classes could share the same signature in downstream projects. In such cases, the class retrieved from signature cannot be trusted as a fixed class. Related: eclipse-openj9/openj9#20522 Signed-off-by: Annabelle Huo <[email protected]>
c51517f
to
eb64424
Compare
@hzongaro This PR is one of the fixes for issue eclipse-openj9/openj9#20522. The reference in the commit message is to the issue eclipse-openj9/openj9#20522 not the PR eclipse-openj9/openj9#20853. All comments are addressed. Ready for another review. Thank you! |
Sorry for my confusion! |
Jenkins build all |
win, zos and linux_riscv64 problems are expected. Merging. |
There are cases where two different array classes could share the same signature in downstream projects. In such cases, the class retrieved from signature cannot be trusted as a fixed class.
Related: eclipse-openj9/openj9#20522