[lworld] Integrated: 8340984: [lworld] instance variable initializer erroneously allows to refer to instance variables, methods, this, or super

Vicente Romero vromero at openjdk.org
Wed Oct 2 18:59:23 UTC 2024


environment for variable initializers were not aware of being in a constructor prologue and thus javac is failing to issue errors for incorrect programs

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

Commit messages:
 - 8340984: [lworld] instance variable initializer erroneously allows to refer to instance variables, methods, this, or super

Changes: https://git.openjdk.org/valhalla/pull/1263/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1263&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340984
  Stats: 94 lines in 4 files changed: 50 ins; 41 del; 3 mod
  Patch: https://git.openjdk.org/valhalla/pull/1263.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1263/head:pull/1263

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


More information about the valhalla-dev mailing list