Draft JEP: Reimplement Core Reflection on Method Handles

Mandy Chung mandy.chung at oracle.com
Tue May 11 22:36:37 UTC 2021



On 5/11/21 2:01 PM, Brian Goetz wrote:
> Yes, please!
>
> To add to the list of motivations/things to remove: the current 
> implementation relies on the special `MagicAccessorImpl` to relax 
> accessibility.  The notes in this class are frightening; getting rid 
> of it would be a mercy.
>
>

Thanks, great point. I will add that.

Mandy

>
> On 5/11/2021 4:42 PM, Mandy Chung wrote:
>> This draft JEP is a proposal to reimplement core reflection on top of 
>> method handles:
>> https://bugs.openjdk.java.net/browse/JDK-8266010
>>
>> Feedback is welcome.  The prototype is at [1].
>>
>> Mandy
>> [1] https://github.com/mlchung/jdk/tree/reimplement-method-invoke
>



More information about the hotspot-compiler-dev mailing list