On Thu, 6 Feb 2025 23:45:57 GMT, Johannes Graham <d...@openjdk.org> wrote:
>> you are right, but accessing static field from enum constructor is not >> allowed > > You could define the static field on another class, like SecurityConstants, > and then use it in the enum constructor. Creating a new empty string array every time is the original behavior, which has nothing to do with the purpose of this PR. Should we follow the principle of minimal changes? If we want to change it, we should submit another PR ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23411#discussion_r1947544944