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

Piotr Karwasz updated LOGGING-197:
----------------------------------
    Assignee: Piotr Karwasz

> Recursive update exception with SLF4J
> -------------------------------------
>
>                 Key: LOGGING-197
>                 URL: https://issues.apache.org/jira/browse/LOGGING-197
>             Project: Commons Logging
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Emmanuel Bourg
>            Assignee: Piotr Karwasz
>            Priority: Major
>
> It looks like there is an issue with the Slf4jLogFactory added to Commons 
> Logging 1.3, the {{Slf4jLogFactory.getInstance()}} method is called 
> recursively between SLF4J and Commons Logging. The loop is halted by the 
> {{ConcurrentHashMap.computeIfAbsent()}} methods that throws an 
> IllegalStateException, but replacing computeIfAbsent with a classic get, test 
> if null, set, results in a stack overflow.
> This issue triggers test failures in SLF4J and httpcomponents-client:
> https://bugs.debian.org/1061025
> https://bugs.debian.org/1060960
> This issue was reported by Vladimir Petko 7 months ago on the user list with 
> a link to a reproducer:
> https://www.mail-archive.com/[email protected]/msg12967.html
> https://github.com/vpa1977/commons-logging-reproducer



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

Reply via email to