RFR: 8308753: Class-File API transition to Preview [v32]
Adam Sotona
asotona at openjdk.org
Tue Nov 28 13:06:31 UTC 2023
On Tue, 28 Nov 2023 10:21:25 GMT, Per Minborg <pminborg at 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
More information about the compiler-dev
mailing list