Community
Participate
Working Groups
(May be related to #7066) Eclipse version: 2.0 build 20011206 Works fine in JDK 1.3.1_01 When creating a subclass in a different package than the superclass, a protected inner class in the superclass isn't visible. (Appears to work OK if the subclass and superclass are in the same package.) Class Hierarchy: public class One { public static class Inner {} } public class Two extends One { protected static class Inner extends One.Inner {} <--- 1 } public class Three extends Two { public static class Inner extends Two.Inner {} <--- 2 } Note 1: If this is changed from protected to public all is OK. Note 2: If Three is in the same package as Two, all is OK. If not, Two.Inner is marked as "not visible" Actual source files are attached.
Created attachment 195 [details] ZIP file with Java source files exhibiting the bug
Indeed this is a duplicate of 7066 or 3368. *** This bug has been marked as a duplicate of 3368 ***