|
New bug identified: Method does not override from superclass?: msg#00020java.findbugs.general
Hi, Sorry if this has cropped up before, I've only just sub'd. I've just discovered a bug in our software that fits what I think is a fairly common pattern. The pattern is that a method signature has been modified in a supertype but the change isn't reflected in a subtype and so when the method is invoked on the subtype, the subtype specific implementation is never used. I ran FindBugs (edu.umd.cs.findbugs.plugin.eclipse_1.1.1.v20061005-rc3.zip) which didn't spot the problem. Could a rule be written to catch a method in a subclass that have the same name as a method in the superclass, but doesn't override that method? Thanks, Rob
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | FindBugs 1.1.1-rc2 posted, Bill Pugh |
|---|---|
| Next by Date: | Re: New bug identified: Method does not override from superclass?, Daniel Le Berre |
| Previous by Thread: | FindBugs 1.1.1-rc2 posted, Bill Pugh |
| Next by Thread: | Re: New bug identified: Method does not override from superclass?, Daniel Le Berre |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |