Bug 212034

Summary: [DOM][AST] getAnnotations() for IMethodBinding and IVariableBinding should be resilient like for ITypeBinding
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: philippe_mulet
Version: 3.4   
Target Milestone: 3.5 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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