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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)