RFR: 8355536: Create version constants to model preview language and vm features

Joe Darcy darcy at openjdk.org
Thu Aug 14 23:10:12 UTC 2025


On Sat, 3 May 2025 00:56:00 GMT, Chen Liang <liach at openjdk.org> wrote:

>> 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.
>
> Tested tier 1-2, no failure, so this isn't creating breakage. Marking this RFR.

Repeating some feedback from a separate discussion, @liach please separate out javadoc tag refactorings/corrections into a separate PR to ease the review here. Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/25017#issuecomment-3190130594


More information about the core-libs-dev mailing list