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

ConfigurationScheduler should preserve interrupt flag during stop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • Core
    • 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

            rpopma Remko Popma
            rpopma Remko Popma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: