[jdk21u-dev] RFR: 8321582: yield <primitive-type>.class not parsed correctly.

Aleksey Shipilev shade at openjdk.org
Thu Jan 4 12:49:51 UTC 2024


Fixes the javac bug, extends the space of compilable Java programs.

Additional testing:
 - [x] New regression test fails without the fix, passes with it
 - [x] `langtools_all` pass

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

Commit messages:
 - Backport ce8399fd6071766114f5f201b6e44a7abdba9f5a

Changes: https://git.openjdk.org/jdk21u-dev/pull/128/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=128&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8321582
  Stats: 29 lines in 2 files changed: 27 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/128.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/128/head:pull/128

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


More information about the jdk-updates-dev mailing list