Summary: | ASTParser#createASTs does not correctly resolve bindings in working copies | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tobias Widmer <tobias_widmer> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | CLOSED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 RC2 | ||||||
Hardware: | PC | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Tobias Widmer
2005-05-31 11:47:05 EDT
Created attachment 22059 [details]
project
Reproduced. Problem is in JavaModelManager#getWorkingCopies(...). We add the primary working even if a working copy for the given owner exists. +1 for RC2 Changed JavaModelManager#getWorkingCopies(...) to not add primary working copies that have a corresponding working copy with the given owner. Added regression test BatchASTCreationTests#tes066(). Verified in N20050606-0010 + JDT/Core HEAD Verified for 3.1 RC2 using build I20050610-0010 |