On Tue, 1 Sep 2026 17:56:37 GMT, Chris Plummer <[email protected]> wrote:

>> Alan Bateman has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Change sentence with examples to use either-to construct
>
> src/hotspot/share/prims/jvmtiEnvBase.cpp line 2180:
> 
>> 2178:   if (tos == vtos) {
>> 2179:     Method* method = jvf->method();
>> 2180:     if ((method->is_class_initializer() && 
>> method->method_holder()->has_strict_static_fields()) ||
> 
> Does `has_strict_static_fields()` inherit from superclasses and interfaces?

Each class has its own class initializer that sets the initial value of the 
strictly-initialized static fields declared in that class.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/32198#discussion_r3908039821

Reply via email to