Community
Participate
Working Groups
Hi there, I have a couple of default package scope classes in a separate file. When this file is open in the IDE everything is fine. If I close it Eclipse indicates the usages (import statements, declarations of instances) of these classes as errors. These errors are shown in the source editor only, but not in the Package Explorer. Also, the whole application obviously finds and uses these classes correctly. javac does not find anything wrong about them as well. Project / Clean... does not help... I tried that file both with and without a dummy public class in it, its the same I use : Version: 3.1.0 Build id: I20050627-1435 Regards, Theo
Could you please provide a reproducable test case and your compiler settings? compliance? source level? target platform? Are you using secondary types (i.e. non-public types defined in a compilation unit) ? Can you reproduce with latest integration build?
Created attachment 36237 [details] a plugin project
Hi, I put together a scaled-down version of the prj I've been working on when I noticed the problem. It should be easily reproducible now. What else,...it doesn't depend on the compiler compliance level. Yes, there are secondary types ( non-public types defined in a compilation unit). Haven't tried it with other builds. Cheers
This is a consequence of using secondary types. See bug 36032 and bug 118789. This has been fixed in 3.2M4. Please try out with a buid >= 3.2M4 and let us know if you can reproduce. Closing as duplicate of bug 36032. *** This bug has been marked as a duplicate of 36032 ***