JDK-6557145 : Warn about calling abstract methods in constructors
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-05-14
  • Updated: 2023-08-16
  • Resolved: 2023-03-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b15Fixed
Related Reports
Relates :  
Relates :  
Description
It has been suggested (6275018) that the compiler warns about calls to abstract
methods from constructors (when the receiver is this).  Additionally, a warning
about calls to non-final methods could be useful.

Comments
Changeset: 8f5bb538 Author: Archie L. Cobbs <archie.cobbs@gmail.com> Committer: Vicente Romero <vromero@openjdk.org> Date: 2023-03-17 22:05:50 +0000 URL: https://git.openjdk.org/jdk/commit/8f5bb538aba42bffb9611546a18f14eb2ea82b70
17-03-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11874 Date: 2023-01-06 02:20:53 +0000
06-01-2023