Integrated: 8339339: [lw5] javac should issue an error if a null-restricted field is left uninitialized, fix override related warnings

Vicente Romero vromero at openjdk.org
Fri Aug 30 22:14:19 UTC 2024


syncing with the spec, javac was issuing a warning if a null-restricted field was left uninitialized, this should be an error. Also warnings related to method overriding were not being issued.

-------------

Commit messages:
 - 8339339: [lw5] javac should issue an error if a null-restricted field is left uninitialized, fix override related warnings

Changes: https://git.openjdk.org/valhalla/pull/1229/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1229&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339339
  Stats: 378 lines in 10 files changed: 291 ins; 19 del; 68 mod
  Patch: https://git.openjdk.org/valhalla/pull/1229.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1229/head:pull/1229

PR: https://git.openjdk.org/valhalla/pull/1229


More information about the valhalla-dev mailing list