Community
Participate
Working Groups
Build Identifier: 20100617-1415 When I insert an anonymous inner class using the autocomplete feature, a superfluous semicolon is added after the closing brace. This semicolon is only required when the class is used in a field or local variable declaration, and not when the instance is used as a method parameter or as part of another expression. This issue has occurred for me from at least 20090619-0625 to 20100617-1415. Reproducible: Always Steps to Reproduce: 1. Type: foo(new ActionListener); 2. Place cursor after "ActionListener". 3. Press ctrl-space for autocomplete and choose "Anonymous Inner Type ..." 4. Witness that the code now has a superfluous (and, indeed, incorrect) semicolon on the last line: };); I expect: });
Is this a duplicate of bug 280801 ?
*** This bug has been marked as a duplicate of bug 280801 ***