CallSite constructor first argument not a class?

Emmanuel Castro emmanuel.castro at laposte.net
Sat Dec 12 01:16:17 PST 2009


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


More information about the mlvm-dev mailing list