You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mnemonic.apache.org by "Chenyang (Jira)" <ji...@apache.org> on 2022/03/04 05:17:00 UTC

[jira] [Resolved] (MNEMONIC-725) Keep thread information when get InterruptedException

     [ https://issues.apache.org/jira/browse/MNEMONIC-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chenyang resolved MNEMONIC-725.
-------------------------------
    Resolution: Fixed

Issue resolved pull request merged.

> 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: Chenyang
>            Priority: Major
>             Fix For: 0.17.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)