Community
Participate
Working Groups
build I20070502-0010 public class X { # void foo(){ { new X1(){}; } X2 o = new X2() {}; } } The error diagnosis is: Syntax error on token "}", delete this token Syntax error on token "Invalid Character", delete this token Syntax error, insert ";" to complete LocalVariableDeclarationStatement Syntax error, insert "}" to complete ClassBody But the only valid error message is: Syntax error on token "Invalid Character", delete this token
bug 188096 could be a duplicate of this bug.
bug 188096 is not a duplicate of this bug.
*** Bug 192683 has been marked as a duplicate of this bug. ***
From bug Bug 192683: The bug have another symptom in code assist public class X { void foo(){ { new X1(){}; } X2 o = new X2() {}; } Run| // do code assist at | } In this case code assist should propose Runnable.
Jéreome, as this breaks code assist and also makes problem reporting going wild, this looks like a good 3.3.1 candidate.
Dani, we talked about that with David and Philippe. It appears that this code is very sensitive. If we fix this problem, we might introduce other problems without even noticing. Also this is not a regression in 3.3 (it didn't work in 3.2). So we should target a fix for 3.4 only.
Deferring post 3.4
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.