| Summary: | [compiler] Missing hiding diagnosies | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | stephan.herrmann |
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. For the records: currently (HEAD around 4.15 RC1) we report
----------
1. WARNING in /tmp/q/B.java (at line 4)
protected Object foo;
^^^
The field B.foo is hiding a field from type A
----------
1 problem (1 warning)
No warning regarding the member type, though.
|
Build 3.3M3 On following testcase, 2 warnings would be expected about field and type hiding. ===================p/A.java package p; public class A { protected Object foo; protected class Member {} } ===================q/B.java package q; import p.A; public class B extends A { protected Object foo; protected class Member {} }