Bug 32505 - M5 build incorrectly reports unresolvable type errors for non-public classes in files with different name
Summary: M5 build incorrectly reports unresolvable type errors for non-public classes ...
Status: VERIFIED DUPLICATE of bug 36032
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal with 1 vote (vote)
Target Milestone: 3.2 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 32889 34002 36012 81155 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-21 13:46 EST by John P. A. Verhaeg CLA
Modified: 2007-04-02 07:24 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John P. A. Verhaeg CLA 2003-02-21 13:46:27 EST
Unresolvable type errors are shown in the editors for references to non-public 
classes that are defined in files whose name doesn't match the class (but does 
match another public class defined in the same file).  The actual compiler 
doesn't have any problem, so nothing shows up in the Tasks view.
Comment 1 Philipe Mulet CLA 2003-02-24 05:11:27 EST
This is a known issue when targeting secondary types. Note that these are 
usually not a good idea, since when performing incremental compilation, there 
is a chance that these files could be missing.

We could fix this down the road by looking in every single compilation unit 
(mean open and parse contents to find these types). Though doable, the penalty 
hit would not be acceptable.

Deferring (could use our index).
Comment 2 Philipe Mulet CLA 2003-03-06 17:34:24 EST
*** Bug 34002 has been marked as a duplicate of this bug. ***
Comment 3 Philipe Mulet CLA 2003-04-03 07:09:57 EST
*** Bug 36012 has been marked as a duplicate of this bug. ***
Comment 4 Philipe Mulet CLA 2003-04-03 07:10:51 EST
*** Bug 32889 has been marked as a duplicate of this bug. ***
Comment 5 Donna Malayeri CLA 2004-09-22 05:07:16 EDT
This is also a problem for plugins--ITypeBinding.resolveTypeBinding() will 
return null.
Comment 6 Dani Megert CLA 2005-02-01 09:19:00 EST
*** Bug 81155 has been marked as a duplicate of this bug. ***
Comment 7 Frederic Fusier CLA 2007-04-02 07:14:43 EDT
Reopen to close as duplicate
Comment 8 Frederic Fusier CLA 2007-04-02 07:18:38 EDT

*** This bug has been marked as a duplicate of bug 36032 ***
Comment 9 Frederic Fusier CLA 2007-04-02 07:24:10 EDT
Verified for 3.2 using M20060629-1905.