-
Notifications
You must be signed in to change notification settings - Fork 738
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 NullRestricted attribute #18179
Check NullRestricted attribute #18179
Conversation
2a13600
to
8cb6cb5
Compare
@hzongaro May I ask you to review this change? Thanks! |
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 have reviewed the test code.
test/functional/Valhalla/src/org/openj9/test/lworld/ValhallaAttributeTests.java
Outdated
Show resolved
Hide resolved
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.
Thanks, Annabelle! Just a few comments.
8cb6cb5
to
32f6437
Compare
@hzongaro @theresa-m All comments are addressed. Ready for another review. Thanks! |
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.
Thanks for the updates. It looks like there are still a few more cases where _methodSymbol->isStatic()
was being used in the old code where it shouldn't have been.
`NullRestricted` field attribute is introduced in JEP 401. - Create API to check `NullRestricted` - Replace calls to `isFieldQType` with `isFieldNullRestricted` - Remove `isClassRefPrimitiveValueType` - Update the test to test JIT'd methods Related: eclipse-openj9#18170 Signed-off-by: Annabelle Huo <Annabelle.Huo@ibm.com>
32f6437
to
0405834
Compare
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.
Looks good! Thanks.
Jenkins test sanity xlinuxval,xlinuxvalst jdknext |
NullRestricted
field attribute is introduced in JEP 401.NullRestricted
isFieldQType
withisFieldNullRestricted
isClassRefPrimitiveValueType
Related: #18170