You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2017/01/15 02:24:26 UTC
[jira] [Updated] (LOG4J2-1786) ConfigurationScheduler should
preserve interrupt flag during stop
[ 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