Community
Participate
Working Groups
Build ID: M20070212-1330 Steps To Reproduce: Test case: class A { private void k() { System.out.println(23); } void m() { k(); } } class B extends A { protected void k() { System.out.println(42); } public static void main(String[] args) { new B().m(); } } This prints "23". Pushing down A.m into B just moves the method without any adjustments (apart from changing A.k's modifier to "protected"), so the resulting program prints "42". More information:
*** Bug 290618 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 211755 ***