Rémi Forax schrieb: [...] >> As you said the type of the target method handle embeds the receiver type, >> and as john said the type of the site doesn't include the receiver type. >> >> I don't like that mismatch, because it's confusing > > I know now why the receiver type is not available. > because invokedynamic is an invokeinterface with java/dyn/Dynamic as > receiver, > the receiver is lost. So in my opinion callsite.type().parameters(0) > should be always java/lang/Object.
if this is true... shouldn't then it be removed? I mean why having a value here if the value is always and ever the same. bye Jochen -- Jochen "blackdrag" Theodorou The Groovy Project Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/ http://www.g2one.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---