Re: invoking a interface default method from within an InvocationHandler

2014-10-20 Thread Cédric Champeau
For what it's worth, in Groovy, we have two separate pathes to "implement classes at runtime", that is to say generating proxies. In the case of an interface, we rely on the JDK proxy just because it is *much* faster than generating a class through ASM. I mean that generating a class in ASM is orde

Re: invoking a interface default method from within an InvocationHandler

2014-10-20 Thread Paul Sandoz
On Oct 18, 2014, at 6:59 PM, Peter Levart wrote: > > Hi Paul, Remi, > > The complete solution will require new API, but the java.lang.reflect.Proxy > API could be improved a bit too. With introduction of default interface > methods it is somehow broken now. Default interface methods enable in