RFR: 8325949: Create an internal utility method for creating VarHandle instances
Alan Bateman
alanb at openjdk.org
Fri Sep 13 07:50:49 UTC 2024
On Fri, 13 Sep 2024 07:39:40 GMT, Per Minborg <pminborg at openjdk.org> wrote:
> If we could access `MethodHandles.Lookup.IMPL_LOOKUP `, we could use this as a lookup and elide the lookup arg. Any ideas to do this in a "polite" way?
Lookup.IMPL_LOOKUP should be guarded closely, I don't think we should remove the need to provide a Lookup with the appropriate access.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20972#issuecomment-2348266276
More information about the core-libs-dev
mailing list