title: InterruptedException inside ExecutorService
body: <p>Should we set the interrupted flag when catching an <code>InterruptedException</code> inside a task managed by an <code>ExecutorService</code>? Or should we just swallow the <code>InterruptedException</code>?</p>
  
  <p>Example:</p>
  
  <pre><code>final ExecutorService service = ...;
  final Object          object  = ...;
  
  service.submit(() -&gt; {
      try {
          while (!condition) {
              object.wait();
          }
      } catch (final InterruptedException exception) {
          Thread.currentThread().interrupt(); // yes or no?
      }
  });
  </code></pre>