two things invokedynamic canbot do

2012-06-26 Thread Jochen Theodorou
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

Re: two things invokedynamic canbot do

2012-06-26 Thread Jochen Theodorou
Am 26.06.2012 11:59, schrieb Rémi Forax: On 06/26/2012 11:40 AM, Jochen Theodorou wrote: 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

Re: two things invokedynamic canbot do

2012-06-26 Thread Rémi Forax
On 06/26/2012 12:37 PM, Jochen Theodorou wrote: Am 26.06.2012 11:59, schrieb Rémi Forax: On 06/26/2012 11:40 AM, Jochen Theodorou wrote: 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

Re: two things invokedynamic canbot do

2012-06-26 Thread Jochen Theodorou
Am 26.06.2012 13:06, schrieb Rémi Forax: [...] (2) calling super() afaik I cannot generate a call site that replaces the invokeSpecial call to a super class constructor. You can call super.foo() ah true... this is not reflection.. even if I get the handle from the super class it won't call