CallSite constructor first argument not a class?
Rémi Forax
forax at univ-mlv.fr
Sat Dec 12 03:13:39 PST 2009
Le 12/12/2009 10:16, Emmanuel Castro a écrit :
> I realize that the first argument of the CallSite constructor
>
> public CallSite(Object caller, String name, MethodType type)
>
> is not typed as a Class. However, when one uses it it a bootstrap
> method, it must be a Class (it is checked in sun.dyn.CallSiteImpl.makeSite()).
>
> What is the ideas behind that. When would it be safe (and usefull) to use some
> of argument type?
>
> Merci de vos réponses
>
> Manu
>
Hi Emmanuel,
It should be a Class, it's a recollection of a previous version of the
implementation.
Salut,
Rémi
More information about the mlvm-dev
mailing list