flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-4531) Thread.stop() is deprecated
Date Mon, 29 Aug 2016 18:27:20 GMT

     [ 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)

Mime
View raw message