You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/08/29 18:27:20 UTC

[jira] [Closed] (FLINK-4531) Thread.stop() is deprecated

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

Stephan Ewen closed FLINK-4531.
-------------------------------

> Thread.stop() is deprecated
> ---------------------------
>
>                 Key: FLINK-4531
>                 URL: https://issues.apache.org/jira/browse/FLINK-4531
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> In KillerWatchDog#run() :
> {code}
>     if (toKill.isAlive()) {
>       toKill.stop();
>     }
> {code}
> Thread.stop() is deprecated.
> https://www.securecoding.cert.org/confluence/display/java/THI05-J.+Do+not+use+Thread.stop()+to+terminate+threads



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