Preparing for the 0.2 draft

Neal Gafter neal at gafter.com
Wed Feb 3 22:25:11 PST 2010


On Wed, Feb 3, 2010 at 9:56 PM, Joshua Bloch <jjb at google.com> wrote:
> Neal found 48 locations in OpenJDK 6 in which he claimed that evaluating
> "this" in the surrounding context would be helpful. I decided to take a
> closer look at them in hopes of learning something.
>
> Roughly speaking, here's what I found. Of the 48 locations, 32 appear to be
> "legitimate" (in that a qualified "this" is currently required, and could be
> replaced by an unqualified this if it were evaluated in the enclosing scope.

Thanks, Josh.  It's nice to see verification that the
automatically-generated results bear some resemblance to the kind of
deeper analysis it was a proxy for.

Cheers,
Neal


More information about the lambda-dev mailing list