You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Zhenghua Gao (Jira)" <ji...@apache.org> on 2019/11/07 07:15:00 UTC
[jira] [Created] (FLINK-14650) Thread safety issue in the piece of
code example of dev/stream/testing document
Zhenghua Gao created FLINK-14650:
------------------------------------
Summary: Thread safety issue in the piece of code example of dev/stream/testing document
Key: FLINK-14650
URL: https://issues.apache.org/jira/browse/FLINK-14650
Project: Flink
Issue Type: Improvement
Components: Documentation
Reporter: Zhenghua Gao
As mentioned by Gilles in user ML[1], the piece of code example has thread safety issue.
One possibility is use Collections.synchronizedList() to create a thread-safety list and remove the synchronized keyword.
[1] [http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Documentation-issue-maybe-td30929.html]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)