Bug 297757

Summary: Cannot get bindings for IType corresponding to parameterized anonymous type
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jarthana, Michael_Rennie, srikanth_sankaran
Version: 3.6   
Target Milestone: 3.6 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 297248    
Attachments:
Description Flags
Proposed fix + regression test none

Description Olivier Thomann CLA 2009-12-14 12:36:16 EST
Fup of bug 297248, when an IType corresponding to a parameterized anonymous type, we don't return a binding when the method ASTParser.createBindings(..) is called.

The problem comes from the DOMFinder class.
Comment 1 Olivier Thomann CLA 2009-12-14 12:40:46 EST
Created attachment 154425 [details]
Proposed fix + regression test
Comment 2 Olivier Thomann CLA 2009-12-15 10:13:04 EST
Released for 3.6M5.
Regression test added in:
org.eclipse.jdt.core.tests.dom.ASTModelBridgeTests#testCreateBindings23
Comment 3 Jay Arthanareeswaran CLA 2010-01-25 07:20:23 EST
Verified for 3.6M5 by code inspection and test verification.
Comment 4 Olivier Thomann CLA 2010-01-25 14:56:07 EST
Verified.