RFR: JDK-8289106: Add model of class file versions to core reflection
Joe Darcy
darcy at openjdk.org
Wed Jun 29 16:34:41 UTC 2022
On Wed, 29 Jun 2022 14:42:19 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> A static method to map from classfile version (as in the JVMS) to ClassFileVersion enum will be useful too.
Just to confirm, you're asking for a method that would map 63 to RELEASE_19, 64 to RELEASE_20, etc.?
Seems reasonable, although there will need to be special treating for 45 since both RELEASE_0 and RELEASE_1 have a major number of 45.
-------------
PR: https://git.openjdk.org/jdk/pull/9299
More information about the core-libs-dev
mailing list