On Mar 12, 2014, at 7:42 PM, Remi Forax <fo...@univ-mlv.fr> wrote: > > As you have seen a lambda is not an anonymous class :) > > A non-serializable lambda is more lightweight than an anonymous class so the > generic information that are transmitted from the bytecode to the runtime > (the lambda metafactory) are not kept inside the lambda class (a lambda class > may be shared by several different lambdas). >
Seems like the reflection API is at the wrong level and a Java model/mirror API might be able to handle this correctly? Paul.