Bug 297757 - Cannot get bindings for IType corresponding to parameterized anonymous type
Summary: Cannot get bindings for IType corresponding to parameterized anonymous type
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 297248
  Show dependency tree
 
Reported: 2009-12-14 12:36 EST by Olivier Thomann CLA
Modified: 2010-01-25 14:56 EST (History)
3 users (show)

See Also:


Attachments
Proposed fix + regression test (4.05 KB, patch)
2009-12-14 12:40 EST, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.