Bug 86990 - Can't restore a top level type from binding key if cu doesn't contain type with cu name
Summary: Can't restore a top level type from binding key if cu doesn't contain type wi...
Status: VERIFIED DUPLICATE of bug 177115
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 09:21 EST by Markus Keller CLA
Modified: 2007-03-20 04:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-03-02 09:21:53 EST
I20050301-1230.

ASTParser#createASTs(..) cannot restore a top level type from a type binding key
if the declaring CU doesn't contain a type with the same name as the CU.

CU p/A.java:

package p;
class One { }
class Two { }

... the keys for One and Two cannot be restored. See also bug 83500.
Comment 1 Jerome Lanneluc CLA 2006-03-31 08:07:06 EST
Post 3.2
Comment 2 Jerome Lanneluc CLA 2007-03-14 06:13:56 EDT
Reopening to mark as dup
Comment 3 Jerome Lanneluc CLA 2007-03-14 06:15:43 EDT

*** This bug has been marked as a duplicate of bug 177115 ***
Comment 4 Maxime Daniel CLA 2007-03-20 04:14:44 EDT
Verified for 3.3 M6 using build I20070319-1335.

BatchASTCreationTest#test083 covers that case.