[lworld] RFR: 8363846: [lworld] Make Class.isIdentityClass() non-native [v2]
Rémi Forax
forax at openjdk.org
Wed Jul 23 12:10:15 UTC 2025
On Wed, 23 Jul 2025 11:45:44 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/oops/instanceKlass.cpp line 3594:
>>
>>> 3592: }
>>> 3593:
>>> 3594: void InstanceKlass::check_can_be_annotated_with_NullRestricted(InstanceKlass* type, Symbol* container_klass_name, TRAPS) {
>>
>> I am surprised we still have this remnant of implicit construction now we have strict fields - shouldn't we replace this with strictness checks?
>
> This was part of another change, and we still need this to check if a field can be made an inline type.
And a strict field can be null
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1514#discussion_r2225360563
More information about the valhalla-dev
mailing list