Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1786

ConfigurationScheduler should preserve interrupt flag during stop

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: Core
    • Labels:
      None

      Description

      ConfigurationScheduler catches InterruptedException but does not restore the interrupted flag. Should be:

      ...
      } catch (InterruptedException ie) {
      ...
          // Preserve interrupt status
          Thread.currentThread().interrupt();
      }
      

        Attachments

          Activity

            People

            • Assignee:
              rpopma Remko Popma
              Reporter:
              rpopma Remko Popma

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment