Correctly set the interrupt status if a thread using RpcChannel is interrupted waiting for a message reply.
Based on a patch by Olivier Costet.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1063791 13f79535-47bb-0310-9956-
ffa450edef68
if ( rpcOptions != NO_REPLY ) collector.wait(timeout);
}
} catch ( InterruptedException ix ) {
- Thread.interrupted();
- //throw new ChannelException(ix);
+ Thread.currentThread().interrupt();
}finally {
responseMap.remove(key);
}
Be consistent with locks on sessionCreationTiming,
sessionExpirationTiming in DeltaManager.resetStatistics(). (kkolinko)
</fix>
+ <fix>
+ <bug>50648</bug>: Correctly set the interrupt status if a thread using
+ <code>RpcChannel</code> is interrupted waiting for a message reply.
+ Based on a patch by Olivier Costet. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Web applications">