RFR: 8355536: Model preview enabled VM features in ClassFileFormatVersion [v10]

Chen Liang liach at openjdk.org
Thu Feb 26 15:34:59 UTC 2026


On Thu, 26 Feb 2026 14:32:04 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 18 commits:
>> 
>>  - Tweak test
>>  - More tweaks
>>  - Refresh
>>  - Merge branch 'master' of https://github.com/openjdk/jdk into feature/preview-cffv
>>  - Merge branch 'master' of https://github.com/openjdk/jdk into feature/preview-cffv
>>  - Fixes
>>  - Fix sourceversion test
>>  - Merge branch 'master' of https://github.com/openjdk/jdk into feature/preview-cffv
>>  - Merge branch 'master' of https://github.com/openjdk/jdk into feature/preview-cffv
>>  - Merge branch 'master' of https://github.com/openjdk/jdk into feature/preview-cffv
>>  - ... and 8 more: https://git.openjdk.org/jdk/compare/d6044d3e...8e128d29
>
> src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java line 61:
> 
>> 59:     /*
>> 60:      * Summary of class file format evolution; previews are listed for
>> 61:      * convenience, but they are not modeled by the RELEASE_ constants.
> 
> Suggestion:
> 
>      * convenience, but they are not modeled by the {@code RELEASE_} constants.
> 
> Might be a bit more readable.

This is a block comment instead of javadoc, so I think leaving it as-is is ok.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25017#discussion_r2859706446


More information about the core-libs-dev mailing list