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/oops/constantPool.cpp line 1228:

> 1226: 
> 1227:       // Check constant pool method consistency
> 1228:       InstanceKlass* callee = InstanceKlass::cast(k);

I know a MethodRef can be `[I`, `clone`, `()Ljava/lang/Object;` for 
`intArray.clone()` Java calls translated by javac. I wonder if this new code 
would break for such an array callee class.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28371#discussion_r2538494116

Reply via email to