Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357480 - [content assist] Too many semicolons after anonymous type completion
Summary: [content assist] Too many semicolons after anonymous type completion
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.8   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Martin Mathew CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 08:57 EDT by Stephan Herrmann CLA
Modified: 2020-03-18 16:29 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2011-09-13 08:57:32 EDT
FUP of 324391:

(In reply to bug 324391 comment #2)
> Please reopen if you have more cases that disturb you in your daily work.

Not during daily work but while verifying bug 292087 I came across this:

Before completion:

class Bug324391 {
    private Runnable jobs[] = {
        new Run|
    };
}


After completion:

class Bug324391 {
    private Runnable jobs[] = {
        new Runnable() {

            @Override
            public void run() {
                // TODO Auto-generated method stub

            }
        };    
    };
}

Compiler says:
Syntax error on token ";", , expected
Comment 1 Dani Megert CLA 2013-04-23 07:35:38 EDT
See also bug 333428.
Comment 2 Eclipse Genie CLA 2020-03-18 16:29:38 EDT
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.