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)

Reply via email to