Community
Participate
Working Groups
See https://bugs.openjdk.java.net/browse/JDK-8043176 Spec for definite assignment did not properly handle lambdas which has been fixed for Java 9.
bulk move to 4.8 M7
*** Bug 532850 has been marked as a duplicate of this bug. ***
Bulk move out of 4.9
Is it possible that this has been fixed? The place where Iv'e seen this bug manifest in the code does not report an error anymore.
(In reply to Nir Lisker from comment #4) > Is it possible that this has been fixed? The place where Iv'e seen this bug > manifest in the code does not report an error anymore. Not that I know of. Can you give an example where ecj's behavior has changed?
Actually I had a mistake in my test. The bug still exists. Sorry.
(In reply to Nir Lisker from comment #6) > Actually I had a mistake in my test. The bug still exists. Sorry. Also a failing test would be helpful, if you can share it.
The test case I use is: public class Test { final Object o; Runnable runnable = () -> Test.this.o.toString(); // error here public Test() { o = new Object(); } } Error on `o`: The blank final field o may not have been initialized If `o` is not made final then there is no error. I think that the duplicate bug 532850 shows the same.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
Bug still exists. This is the corresponding JDK ticket for Javac: https://bugs.openjdk.org/browse/JDK-8289777