Summary: | Compiler 1.4 - should report visibility issue for shadowed protected method | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | snickell |
Version: | 2.0 | ||
Target Milestone: | 2.1 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Philipe Mulet
2002-08-14 11:52:58 EDT
Two fixes are possible: 1- either change the #canBeSeenBy implementation to check for shadowing protected methods (somewhat similar to package visible check) 2- or change the #findMethod implementation to explicitly filter out the shadowed method during lookup (leaving the non-visible one in for complaining). Releasing fix #2. Verified. *** Bug 23788 has been marked as a duplicate of this bug. *** |