RFR: 8325949: Create an internal utility method for creating VarHandle instances [v2]

ExE Boss duke at openjdk.org
Fri Sep 13 09:48:05 UTC 2024


On Thu, 12 Sep 2024 19:30:45 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Rename and reformat
>
> src/java.base/share/classes/jdk/internal/reflect/MethodHandlesInternal.java line 1:
> 
>> 1: /*
> 
> I would argue this is closer to invoke than reflect, so can consider moving to `sun.invoke` or even create a new `jdk.internal.invoke` package.

I’m in favour of introducing `jdk.internal.invoke`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20972#discussion_r1758550297


More information about the core-libs-dev mailing list