This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [rename method] Rename method should return a warning related to shadow access | ||
---|---|---|---|
Product: | java | Reporter: | kely_garcia <kely_garcia> |
Component: | Refactoring | Assignee: | Jan Becicka <jbecicka> |
Status: | NEW --- | ||
Severity: | blocker | CC: | ebaumann |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
kely_garcia
2007-03-29 17:34:46 UTC
Note: A similar problem happens when we have interfaces, for example: - renaming method A.m to k yields compilation error in the following case: class B { void k(){ } } class A extends B implements I{ public void m(){ } } interface I{ void m(); } - renaming I.m to k yields compilation error in the following case: interface I{ void m(); } class A{ public void m(){} } class B1 extends A implements I{ } class B2 extends A { public void m(){} public void k(){} } I just noticed that 3 of the examples in my notes (first, third and fourth) correspond to a different bug and I have created Issue 99596 for them. Yes. This is valid issue. *** Bug 249187 has been marked as a duplicate of this bug. *** |