On Tue, 18 Nov 2025 13:27:06 GMT, Coleen Phillimore <[email protected]> wrote:
> ArrayKlass doesn't set AccessFlags so don't look for them there. See CR for
> details.
> Fixed SA and jvmci. @iwanowww Can you check that I changed C2 correctly (we
> talked about this in August).
> Tested with tier1-4. 5-7 in progress.
src/hotspot/share/classfile/classFileParser.cpp line 815:
> 813: interface_index, CHECK);
> 814: if (cp->tag_at(interface_index).is_klass()) {
> 815: interf =
> InstanceKlass::cast(cp->resolved_klass_at(interface_index));
Note that a resolved `CONSTANT_Class` can refer to an array type, so this cast
is incorrect.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28371#discussion_r2539226107