RFR: 8302260: VarHandle.describeConstable() fails to return a nominal descriptor for static public fields
Paul Sandoz
psandoz at openjdk.org
Mon Feb 13 20:35:27 UTC 2023
On Mon, 13 Feb 2023 19:35:52 GMT, Mandy Chung <mchung at 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
More information about the core-libs-dev
mailing list