RFR: 8355536: Create version constants to model preview language and vm features [v5]
Chen Liang
liach at openjdk.org
Mon May 5 16:11:23 UTC 2025
> Sometimes, for version-specific feature access APIs, we wish to access the preview features of the current Java SE release. To reduce the impact of adding one preview-specific version on every site, we can add a constant modeling the preview features as a fake version.
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:
- Merge branch 'master' of https://github.com/openjdk/jdk into feature/preview-cffv
- Update src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java
- Update src/java.compiler/share/classes/javax/lang/model/SourceVersion.java
Co-authored-by: Luca Kellermann <lukellmann at gmail.com>
- Don't need to update latestSupported later
- Merge branch 'pr/25015' of https://github.com/openjdk/jdk into feature/preview-cffv
- JDK-8356108: Update SourceVersion.RELEASE_25 description for JEPs 511 and 512
- Add advanced testing for different latestSupported
- 8355536: Create version constants to model preview language and vm features
-------------
Changes: https://git.openjdk.org/jdk/pull/25017/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25017&range=04
Stats: 1265 lines in 6 files changed: 1123 ins; 83 del; 59 mod
Patch: https://git.openjdk.org/jdk/pull/25017.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25017/head:pull/25017
PR: https://git.openjdk.org/jdk/pull/25017
More information about the core-libs-dev
mailing list