You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/08/29 17:26:20 UTC
[jira] [Created] (FLINK-4531) Thread.stop() is deprecated
Ted Yu created FLINK-4531:
-----------------------------
Summary: 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)