JDK 7 has a very simple definition of effectively final which is restricted to the scope of exception parameters. In the context of Project Lambda we need to enhance the notion of effectively final to cover all local variable declarations. As a bonus, inner classes will be allowed to access variables that are deemed to be effectively final.
|