[lworld] Integrated: 8375574: [lworld] tools/sincechecker/modules/java.base/JavaBaseCheckSince.java fails with CURRENT_PREVIEW_FEATURES
Chen Liang
liach at openjdk.org
Tue Jan 27 19:28:10 UTC 2026
On Tue, 27 Jan 2026 03:52:52 GMT, Chen Liang <liach at openjdk.org> wrote:
> `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`.
This pull request has now been integrated.
Changeset: 4fc819fe
Author: Chen Liang <liach at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/4fc819fefbc6dc4242d7a5a79ebe9e93af23cf0e
Stats: 6 lines in 2 files changed: 3 ins; 2 del; 1 mod
8375574: [lworld] tools/sincechecker/modules/java.base/JavaBaseCheckSince.java fails with CURRENT_PREVIEW_FEATURES
Reviewed-by: vromero
-------------
PR: https://git.openjdk.org/valhalla/pull/1979
More information about the valhalla-dev
mailing list