[9] RFR (M): 8069591: Customize LambdaForms which are invoked using MH.invoke/invokeExact

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Thu Jan 22 18:21:52 UTC 2015


>> in Invokers.java, I think that checkCustomized should take an Object and not a MethodHandle
>> exactly like getCallSiteTarget takes an Object and not a CallSite.
>
> The use of erased types (any ref => Object) in the MH runtime is an artifact of bootstrapping difficulties, early in the project.  I hope it is not necessary any more.  That said, I agree that the pattern should be consistent.
Sure. Here is it [1]

Best regards,
Vladimir Ivanov

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



More information about the core-libs-dev mailing list