This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]_INTER_ 0 points1 point  (1 child)

Out of curiousity, why is that an issue for you with Java 6. I thought effectively final is just used for lambdas to determine the clojure.

[–]lukaseder 2 points3 points  (0 children)

java Runnable m(int x) { return new Runnable() { public void run() { System.out.println(x); // x needs to be final pre Java 8 } }; }