java.lang.StackOverflowError in Lowering
Neal Gafter
neal at gafter.com
Wed Jun 22 14:09:28 PDT 2011
On Wed, Jun 22, 2011 at 11:16 AM, Alessio Stalla <alessiostalla at gmail.com>wrote:
> Anyway, the
> important thing here is that, in Java, not having mutability of
> captured variables is at worst a minor annoyance; if you really want
> it, you can easily fake it one way or another, so there's no reason to
> complicate the compiler.
>
Indeed, one could say the same thing about mutable local variables even in
the absence of lambda expressions. If we're going to deprecate mutable
local variables without breaking backward compatibility, we might as well
start now, and allow them to interoperate with only previously existing
language constructs.
Cheers,
Neal "Troll" Gafter
More information about the lambda-dev
mailing list