[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 19:28:09 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`.
Thanks for the review!
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1979#issuecomment-3807080970
More information about the valhalla-dev
mailing list