On Wed, 19 Jan 2022 02:19:02 GMT, Yi Yang <yy...@openjdk.org> wrote:

>> src/hotspot/share/oops/instanceKlass.cpp line 2103:
>> 
>>> 2101:   if (k->has_final_method()) buf[i++] = 'f';
>>> 2102:   if (k->has_vanilla_constructor()) buf[i++] = 'V';
>>> 2103:   if (k->is_instance_klass()) {
>> 
>> Don't the properties queried in L2100 to L2102 only apply to instance 
>> classes?
>
> These methods belong to `Klass`

That is true (though I wonder if it should be) but the question remains can 
these ever be present on a non-instance class?

Somewhat related can you show the output for an array class please.

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

PR: https://git.openjdk.java.net/jdk/pull/7105

Reply via email to