Bug 277805 - [recovery] statements recovery does not jump over anonymous type correctly
Summary: [recovery] statements recovery does not jump over anonymous type correctly
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-26 04:01 EDT by David Audel CLA
Modified: 2020-04-01 14:00 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Audel CLA 2009-05-26 04:01:33 EDT
From bug 274898.

public class Test {

        public Test() {

                final anClass labelModel =
                        new new SomeOtherClass() {

                };

        }
}

In this case the statements recovery does not jump over anonymous correctly when the anonymous contains some syntax errors in the header.

The 'normal' recovery consider that the anonymous start at the second 'new' and the 'statements' recovery consider that the anonymous start at the first 'new'.

So when the statements recovery jump over type created by the 'normal' recovery then is jump from the from position.
Comment 1 Eclipse Genie CLA 2020-04-01 14:00:32 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.