Method Pointers

Brian Goetz brian.goetz at
Sun Mar 25 15:37:00 PDT 2012

> OK, so this is simply an implementation hack, which happens to improve
> performance, and has the side effect of probably confusing new users,
> rather than a deliberate, unreliable design feature?

Which is almost identical to something we do in javac -- fold together 
identical string literals within a class into the same constant pool 
entry, resulting in strings appearing to be == accidentally.  We don't 
do it to confuse the users, but it may have that effect anyway.

More information about the lambda-dev mailing list