You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/02/12 19:34:18 UTC
[jira] [Resolved] (FLINK-3392) Unprotected access to elements in
ClosableBlockingQueue#size()
[ https://issues.apache.org/jira/browse/FLINK-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen resolved FLINK-3392.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.0.0
Fixed via c47cb7af1474b08ee1b7b7a813d03da022015ed1
Thanks for reporting the issue, [~yuzhihong@gmail.com]
> Unprotected access to elements in ClosableBlockingQueue#size()
> --------------------------------------------------------------
>
> Key: FLINK-3392
> URL: https://issues.apache.org/jira/browse/FLINK-3392
> Project: Flink
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Stephan Ewen
> Priority: Minor
> Fix For: 1.0.0
>
>
> Here is related code:
> {code}
> public int size() {
> return elements.size();
> }
> {code}
> Access to elements should be protected by lock.lock() / lock.unlock() pair.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)