On 25/08/2021 11:22, Remi Forax wrote:
:
In my opinion, what is missing is a java.lang.invoke.Proxy, the equivalent of 
java.lang.reflect.Proxy but using defineHiddenClass + a bootstrap method + 
method handles instead of the InvocationHandler + j.l.r.Method. With that, 
implementing java.lang.invoke.MethodHandleProxies on top of of 
java.lang.invoke.Proxy is just a matter of wiring.
I suspect this will eventually be a new API. Mandy has captured some of the issues in JDK-8242888 [1]

-Alan

[1] https://bugs.openjdk.java.net/browse/JDK-8242888

Reply via email to