You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mnemonic.apache.org by "Wang, Gang (Jira)" <ji...@apache.org> on 2022/02/24 05:19:00 UTC
[jira] [Created] (MNEMONIC-725) Keep thread information when get InterruptedException
Wang, Gang created MNEMONIC-725:
-----------------------------------
Summary: Keep thread information when get InterruptedException
Key: MNEMONIC-725
URL: https://issues.apache.org/jira/browse/MNEMONIC-725
Project: Mnemonic
Issue Type: Improvement
Components: Core
Affects Versions: 0.17.0
Reporter: Wang, Gang
Assignee: Yanhui Zhao
Fix For: 0.17.0
Set the interrupted flag on the current thread with 'Thread.currentThread().interrupt()' instead of ex.printStackTrace(), otherwise the information that the current thread was interrupted will be lost.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)