RFR: 8294982: Implementation of Classfile API [v12]
Paul Sandoz
psandoz at openjdk.org
Thu Mar 2 00:13:54 UTC 2023
On Mon, 6 Feb 2023 13:50:07 GMT, Adam Sotona <asotona at openjdk.org> wrote:
>> Actually, we also have a ClassfileVersion class, so that could be a better place for version numbers?
>
> There were several iterations of "where to store numeric constants".
> It is hard to find them when spread across many classes and duplicities appear instantly.
> Dedicated "Constants" would be another bikeshed with conflicting name.
> Co-location in Classfile was the latest decission as it is not just a central bikeshed, but it also reflect connection with classfile specification.
> Please raise that discussion at classfile-api-dev at openjdk.org if necessary.
At least for versions its easier to have a singular location because every six months the code needs to be updated.
-------------
PR: https://git.openjdk.org/jdk/pull/10982
More information about the build-dev
mailing list