Bug 53597 - Package access class marked as unresolved within package when defined along with other classes
Summary: Package access class marked as unresolved within package when defined along w...
Status: RESOLVED DUPLICATE of bug 36032
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1.2   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-03 07:58 EST by Johan Persson CLA
Modified: 2004-03-04 05:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Persson CLA 2004-03-03 07:58:43 EST
Steps to reproduce:

1.) Create package p
2.) Create public class MainA
3.) In file MainA.java, create default access class A
4.) In the same package, create public class UserOfA (in new file)

5.) Let UserOfA extend A
or
5.) Let UserOfA use A as a type

In both these cases the editor flags a problem in the file UserOfA.java. For 
the package as a whole (package explorer), no problem is flagged. The code can 
still be run and it seems to be functional.

Other observations:

i.) having class A in a separate file within the same package works fine
ii.) accessing class A from within the file where it is defined works fine
Comment 1 Jerome Lanneluc CLA 2004-03-04 05:56:00 EST

*** This bug has been marked as a duplicate of 36032 ***