Community
Participate
Working Groups
In the attached file (which, according to the comments, is public domain), doing a code-clean up with all options disabled except "Use Blocks", "Always" results in an uncompilable CU. The error is introduced on line 799 of the cleaned-up code.
Move to JDT/UI
Created attachment 35075 [details] File which causes problems
Also, line 922
I20060217-1115 Given: if (true) { }// else System.out.println(b); 1. Place cursor on 'else' keyword 2. Ctrl-1 3. Change else to block is: if (true) { }// else { System.out.println(b); } expected (i.e.): if (true) { }// else { System.out.println(b); } It may be a dup of bug 128422
Another possible answer is: if (true) { } else { // System.out.println(b); }
*** This bug has been marked as a duplicate of 95839 ***