logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-1786) ConfigurationScheduler should preserve interrupt flag during stop
Date Sun, 15 Jan 2017 02:24:26 GMT

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

Remko Popma updated LOG4J2-1786:
--------------------------------
    Summary: ConfigurationScheduler should preserve interrupt flag during stop  (was: ConfigurationScheduler
should preserve interrupt flag during shutdown)

> ConfigurationScheduler should preserve interrupt flag during stop
> -----------------------------------------------------------------
>
>                 Key: LOG4J2-1786
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1786
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>            Reporter: Remko Popma
>            Assignee: Remko Popma
>             Fix For: 2.8
>
>
> ConfigurationScheduler catches InterruptedException but does not restore the interrupted
flag. Should be:
> {code}
> ...
> } catch (InterruptedException ie) {
> ...
>     // Preserve interrupt status
>     Thread.currentThread().interrupt();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message