RFR: 8355652: Parse ClassFileFormatVersion from ClassFileVersion [v2]

simon duke at openjdk.org
Mon Jul 21 20:57:03 UTC 2025


On Mon, 21 Jul 2025 20:44:58 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Got it. Could you have this hook in a private class method or a static public method? 
>> Maybe it can be reused in another points?
>
>> Maybe it can be reused in another points?
> 
> ClassFileFormatVersion and Optional are more user-oriented classes; internal code don't really ever use these two types, so I don't think you need to extract this logic specifically.

I mean about the rule the version - similar to isSupportedClassFileVersion method

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26406#discussion_r2220292747


More information about the core-libs-dev mailing list