On Wed, 29 Nov 2023 08:46:46 GMT, Per Minborg <pminb...@openjdk.org> wrote:
>> This is explicit list of supported class file versions, so I don't see any >> other way. > > Would it not be possible to expose an immutable `Map<Integer, Integer>` that > maps from Java version to major class version? This is actually out of scope of this PR. Feel free to request a new ClassFile API feature. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15706#discussion_r1412090733