| JDK 21 |
|---|
| 21 b15Fixed |
|
CSR :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
JDK-8314437 :
|
One of the coding guidelines from "Effective Java" and elsewhere is to not call overridable methods from a constructor. A compiler is an in excellent position to perform this kind of check.
The Java Specialists newsletter reports instance of this coding pattern in the JDK codebase:
www.javaspecialists.eu/archive/Issue210.html
|