On Mon, 13 Feb 2023 19:35:52 GMT, Mandy Chung <mch...@openjdk.org> wrote:

> I overlooked in the fix for JDK-8297757 that it should have passed the 
> declaring class of the static fields rather than the reference class passed 
> to `Lookup::findStaticVarHandle`.

Doh! I think the previous fix may have also result in an InternalError in some 
cases? since the field may not be found from the declaring class in 
`VarHandles::getStaticFieldFromBaseAndOffset`?

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

PR: https://git.openjdk.org/jdk/pull/12543

Reply via email to