Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 230872

Summary: [recovery] annotation recovery should be able to fully recover annotations
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: jerome_lanneluc
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description David Audel CLA 2008-05-07 07:42:27 EDT
From bug 228464

Currently annotation recovery recover an annotation from the @ to the first incorrect member value pair.

In this case:
@ABC(attr1="happy",name=, attr3="unhappy")

only the following part is recovered:
@ABC(attr1="happy",name=

The recovery could try to recover more using an algorithm similar to statements recovery (use syntax error diagnosis)
Comment 1 David Audel CLA 2008-05-07 07:43:54 EDT
Deferring to 3.5.
Comment 2 Jerome Lanneluc CLA 2009-04-28 11:26:51 EDT
Not for 3.5
Comment 3 Eclipse Genie CLA 2020-03-26 18:36:10 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.