two things invokedynamic canbot do

Jochen Theodorou blackdrag at gmx.org
Tue Jun 26 02:40:03 PDT 2012


Hi all,

just to be sure I understand correctly... afaik there are two things 
invokedynamic cannot do.

(1) calling private methods
actually I am not sure this is really true. There is a Lookup instance I 
can use to get handles to private methods (afaik), therefore it should 
be possible. Or is there an artificial restriction of some kind?

(2) calling super()
afaik I cannot generate a call site that replaces the invokeSpecial call 
to a super class constructor.

Am I right about those?

bye blackdrag


-- 
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org




More information about the mlvm-dev mailing list