Draft JEP: Reimplement Core Reflection on Method Handles

Brian Goetz brian.goetz at oracle.com
Tue May 11 21:01:57 UTC 2021


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.



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 core-libs-dev mailing list