[jdk21u-dev] RFR: 8322992: Javac fails with StackOverflowError when compiling deeply nested synchronized blocks

Goetz Lindenmaier goetz at openjdk.org
Sat Jul 19 19:16:02 UTC 2025


I backport this to fix this obvious problem and as prereq of JDK-8332106.

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

Commit messages:
 - Backport 0b9350e8b619bc556f36652cde6f73211be5b85b

Changes: https://git.openjdk.org/jdk21u-dev/pull/1992/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1992&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322992
  Stats: 1229 lines in 2 files changed: 1211 ins; 15 del; 3 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1992.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1992/head:pull/1992

PR: https://git.openjdk.org/jdk21u-dev/pull/1992


More information about the jdk-updates-dev mailing list