Skip to content

Commit

Permalink
Merge pull request #20558 from theresa-m/missing_nr
Browse files Browse the repository at this point in the history
Missing null-restricted flag in MethodHandles initialization
  • Loading branch information
hangshao0 authored Nov 12, 2024
2 parents a79854a + cef13e3 commit d7f653d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ initImpl(J9VMThread *currentThread, j9object_t membernameObject, j9object_t refO
}
#if defined(J9VM_OPT_VALHALLA_FLATTENABLE_VALUE_TYPES)
if (J9ROMFIELD_IS_NULL_RESTRICTED(romField)) {
flags |= MN_NULL_RESTRICTED;
if (vmFuncs->isFlattenableFieldFlattened(fieldID->declaringClass, fieldID->field)) {
flags |= MN_FLAT_FIELD;
}
Expand Down

0 comments on commit d7f653d

Please sign in to comment.