RFR: 8372023: Javac JMH failures

Vicente Romero vromero at openjdk.org
Wed Nov 19 18:58:21 UTC 2025


There are two issues here, change for [1] implied that some code that was acceptable before this change would be rejected by the compiler. This had provoked an that some JMH tests started failing. This can be fixed by compiling those cases with `-source 25`. Also while taking a look at this issue I realized that the fix for [1] had a bug which it is also being fixed here.

TIA

[1] https://bugs.openjdk.org/browse/JDK-8369517

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

Commit messages:
 - 8372023: Javac JMH failures

Changes: https://git.openjdk.org/jdk/pull/28400/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28400&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8372023
  Stats: 9 lines in 5 files changed: 5 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/28400.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28400/head:pull/28400

PR: https://git.openjdk.org/jdk/pull/28400


More information about the compiler-dev mailing list