Lambda class names no longer reported when listening for JVMTI_EVENT_CLASS_FILE_LOAD events
mark at talios.com
Thu Jan 23 14:22:17 PST 2014
Woah - so the JVM/java now has anonymous classes? Could this be
exploited for a form of type-safe "multiple return values/tuples"
similar to what C# offers? Similar to whats shown in
If that was exposed with similar syntax in JDK9 that would be awesome.
Would play nice with Streams, lambdas and more....
On 23 Jan 2014, at 12:48, Brian Goetz wrote:
> Yes. We moved to "anonymous classes" (in the sense of
> Unsafe.defineAnonymousClass, not anonymous inner classes), for reasons
> of both security and performance. This is an unfortunate side effect.
More information about the lambda-dev