[ 
https://issues.apache.org/jira/browse/NIFI-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992811#comment-14992811
 ] 

Joseph Witt commented on NIFI-1099:
-----------------------------------

My read on this so far is worse case it is a noop change and best case it would 
enable the caller to detect there was an interrupt.

> Interrupted status is not restored
> ----------------------------------
>
>                 Key: NIFI-1099
>                 URL: https://issues.apache.org/jira/browse/NIFI-1099
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Oleg Zhurakousky
>            Assignee: Oleg Zhurakousky
>             Fix For: 0.4.0
>
>
> There are few places with code that looks like this
> {code}
> try {
>    Thread.sleep(val);
> } catch (InterruptedException ie) {
> }
> {code}
> . . . and the interrupted status of the thread is not restored. Need at the 
> very least 
> {code}
> Thread.currentThread().interrupt();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to