You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Matt Sicker (Jira)" <ji...@apache.org> on 2022/10/31 01:18:00 UTC

[jira] [Assigned] (LOG4J2-3459) Reduce use of class static initialization blocks

     [ https://issues.apache.org/jira/browse/LOG4J2-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Sicker reassigned LOG4J2-3459:
-----------------------------------

    Assignee: Matt Sicker

> Reduce use of class static initialization blocks
> ------------------------------------------------
>
>                 Key: LOG4J2-3459
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3459
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: API, Core
>            Reporter: Matt Sicker
>            Assignee: Matt Sicker
>            Priority: Major
>
> There are numerous classes that use static initializer blocks to perform computation for caching some results. These should all generally be deferred until some other reference to the class such as instantiation of use of a singleton getter method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)