[jdk20] RFR: 8299849: Revert JDK-8294461: wrong effectively final determination by javac

Jan Lahoda jlahoda at openjdk.org
Tue Jan 10 15:58:07 UTC 2023


The fix for JDK-8294461 lead to https://bugs.openjdk.org/browse/JDK-8299416, and investigating that, it seems effectively final handling in JLS may need some more analysis.

The proposal here is therefore to revert JDK-8294461 (commit b8ad6cd98a7e4b577b888dc5f9d93c2e4d3bf177), and re-apply once it is determined if or what needs to be adjusted in the specification.

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

Commit messages:
 - 8299849: Revert JDK-8294461: wrong effectively final determination by javac

Changes: https://git.openjdk.org/jdk20/pull/93/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=93&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299849
  Stats: 23 lines in 3 files changed: 2 ins; 17 del; 4 mod
  Patch: https://git.openjdk.org/jdk20/pull/93.diff
  Fetch: git fetch https://git.openjdk.org/jdk20 pull/93/head:pull/93

PR: https://git.openjdk.org/jdk20/pull/93


More information about the compiler-dev mailing list