-
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
Value Types: Fix VP constraint for null-restricted array class #7579
base: master
Are you sure you want to change the base?
Value Types: Fix VP constraint for null-restricted array 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! |
If null-restricted array is enabled and the class is an array class, the null-restricted array class and the nullable array class share the same signature. The null-restricted array can be viewed as a sub-type of the nullable array. Therefore, the constraint cannot be fixed class. Related: eclipse-openj9/openj9#20522 Signed-off-by: Annabelle Huo <[email protected]>
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! |
If null-restricted array is enabled and the class is an array class, the null-restricted array class and the nullable array class share the same signature. The null-restricted array can be viewed as a sub-type of the nullable array. Therefore, the constraint cannot be fixed class.
Related: eclipse-openj9/openj9#20522