On Tue, 28 Nov 2023 10:21:25 GMT, Per Minborg <pminb...@openjdk.org> wrote:

>> Adam Sotona has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   fixed SwitchBootstrapTest
>
> src/java.base/share/classes/java/lang/classfile/ClassFile.java line 1404:
> 
>> (failed to retrieve contents of file, check the PR for context)
> Is there a more scalable way to express the major class version? The current 
> approach means we have to add two fields per year.  Maybe a lookup function 
> would be better?

This is explicit list of supported class file versions, so I don't see any 
other way.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15706#discussion_r1407726710

Reply via email to