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] [Created] (LOG4J2-1786) ConfigurationScheduler should preserve interrupt flag during shutdown
Date Sun, 15 Jan 2017 02:22:26 GMT
Remko Popma created LOG4J2-1786:
-----------------------------------

             Summary: ConfigurationScheduler should preserve interrupt flag during shutdown
                 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