[ 
https://issues.apache.org/jira/browse/GROOVY-12386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18113546#comment-18113546
 ] 

ASF GitHub Bot commented on GROOVY-12386:
-----------------------------------------

testlens-app[bot] commented on PR #2908:
URL: https://github.com/apache/groovy/pull/2908#issuecomment-5609046314

   ## ✅ All tests passed ✅
   
   🏷️ Commit: 4443e2d4500629914ff42622a5812c815e889579
   ▶️ Tests:  117685 executed
   ⚪️ Checks: 33/33 completed
   
   ---
   _Learn more about TestLens at 
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
   




> groovy-json: keep System.Logger out of internal static initialisers
> -------------------------------------------------------------------
>
>                 Key: GROOVY-12386
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12386
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>
> Involves: two internal classes, Sys and Exceptions, create a System.Logger in 
> a static field. The spike switched them to java.util.logging. A gentler 
> option is a lazy holder so the logger is only created when something is 
> actually logged, which is an error path in both classes.
> Impact on normal usage: with the JUL switch, users who installed a custom 
> System.LoggerFinder would see these two rare messages routed differently. 
> With the lazy option nothing changes on a JVM, so I would prefer that.



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

Reply via email to