-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
7
-
generic
-
generic
As discussed in "Effective Java," a programming restriction on code that returns new objects (constructors, clone, and readObject) is not calling overridable methods. To catch this non-obvious condition, javac could issue a warning if this occurs.
- relates to
-
JDK-6565539 javac could issue a warning for not overriding toString in a concrete class
- Open
-
JDK-6563143 javac should issue a warning for overriding equals without hashCode
- Closed