Hi all,

looks like some stupid fact left my center of attention for quite a while, so I am asking here to see if I am right or not.

Assuming I have in pseudo code something like this:

Object o1 = foo1()
Object o2 = foo2()
invokeDynamic ("bar", this, o1, o2)

meaning I want to do an dynamic method invocation using o1 and o2 as arguments to some method on this, which is called bar....

Do I see it right, that the MethodType that will get presented to my bootstrap method and the call site will have Object for o1 and o2? And am I right in assuming, that if the runtime type for ox changes, that this will not invalidate my callsite and that I will have to guard this if I want that?

bye blackdrag

--
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead
http://blackdragsview.blogspot.com/
For Groovy programming sources visit http://groovy.codehaus.org

--
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
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.

Reply via email to