Bug 212034 - [DOM][AST] getAnnotations() for IMethodBinding and IVariableBinding should be resilient like for ITypeBinding
Summary: [DOM][AST] getAnnotations() for IMethodBinding and IVariableBinding should be...
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-05 12:25 EST by Olivier Thomann CLA
Modified: 2008-08-06 12:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2007-12-05 12:25:03 EST
We should return all the resolved annotations instead of returning an empty collection as soon as one annotation cannot be resolved.
Comment 1 Philipe Mulet CLA 2007-12-05 12:28:02 EST
Will be done as part of resilience work for bug 196200.
Some test cases would be appreciated.
Comment 2 Olivier Thomann CLA 2008-07-30 10:51:33 EDT
This is now invalid as it was already fixed for 3.4 as part of another bug report.
Comment 3 Olivier Thomann CLA 2008-07-30 11:28:00 EDT
Added regression tests
org.eclipse.jdt.core.tests.dom.ASTConverter15Test#test0319
org.eclipse.jdt.core.tests.dom.ASTConverter15Test#test0320

to cover method binding and variable binding cases.
Comment 4 Kent Johnson CLA 2008-08-06 12:48:38 EDT
Verified for 3.5M1 using I20080805-1307