RFR: 8297757: VarHandles.getStaticFieldFromBaseAndOffset should get the receiver type from VarHandle [v2]
Mandy Chung
mchung at openjdk.org
Thu Jan 19 23:37:22 UTC 2023
On Thu, 19 Jan 2023 23:01:23 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
>>
>> remove the base parameter which is unused
>
> src/java.base/share/classes/java/lang/invoke/VarHandles.java line 187:
>
>> 185: // Required by instance static field handles
>> 186: static Field getStaticFieldFromBaseAndOffset(Class<?> receiverType,
>> 187: Object base,
>
> `base` is now unused.
Removed. Thanks for catching it.
-------------
PR: https://git.openjdk.org/jdk/pull/12100
More information about the core-libs-dev
mailing list