Bug 150620 - [compiler] detect static methods with same signature in hierarchy
Summary: [compiler] detect static methods with same signature in hierarchy
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 04:21 EDT by Martin Aeschlimann CLA
Modified: 2016-01-14 12:59 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2006-07-14 04:21:56 EDT
3.2

From bug 150209:
A potential source of errors is when a static method happens to have the same signature as a static method in a super type.
We could warn about this scenario. Looks like bad code style to me to do that.
Comment 1 Philipe Mulet CLA 2007-10-26 03:33:09 EDT
Also apparent overrides of non visible methods are in the same boat.