Community
Participate
Working Groups
see bug 24449: In this code all accesses to 'fCoo' have binding due to the no-visible problem. Debugged this and saw that there is also a binding for the first 'fCoo'. (Note that the example is different than in bug 24449, now D extends C. public class C { private int fCoo; } public class D extends C { public void goo(C c) { fCoo= 1; super.fCoo= 1; C.fCoo= 1; c.fCoo= 1; } }
TestCases: LocalCorrectionsQuickFixTest .testInvisibleFieldRequestedInSamePackage1 .testInvisibleFieldRequestedInSamePackage2
I will investigate.
Fixed and released in 2.1 stream. Regression tests added.
Change target milestone.
Verified.