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

ConfigurationScheduler should preserve interrupt flag during stop

    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:
              remkop@yahoo.com Remko Popma
              Reporter:
              remkop@yahoo.com Remko Popma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: