On Fri, 7 Jun 2024 13:08:24 GMT, Claes Redestad <redes...@openjdk.org> wrote:

>> Trivially move a few private static finals to their respective source type 
>> to avoid eagerly loading a few small classes.
>
> Claes Redestad has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Update src/java.base/share/classes/java/util/Spliterators.java
>   
>   Co-authored-by: Chen Liang <liangchenb...@gmail.com>

Thanks! Yes, the best holder for a singleton is typically the class itself 😄

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

PR Comment: https://git.openjdk.org/jdk/pull/19591#issuecomment-2155003099

Reply via email to