[lworld] RFR: 8375574: [lworld] tools/sincechecker/modules/java.base/JavaBaseCheckSince.java fails with CURRENT_PREVIEW_FEATURES

Chen Liang liach at openjdk.org
Tue Jan 27 04:00:17 UTC 2026


`ClassFileFormatVersion.CURRENT_PREVIEW_FEATURES` is a language model preview API designed to allow programs compiled without preview to write code so they can run in a preview enabled JVM. It is missing a `@PreviewFeature` annotation, correctly caught by `JavaBaseCheckSince`.

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

Commit messages:
 - Missing preview on current preview features

Changes: https://git.openjdk.org/valhalla/pull/1979/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1979&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8375574
  Stats: 6 lines in 2 files changed: 3 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/1979.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1979/head:pull/1979

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


More information about the valhalla-dev mailing list