[ 
https://issues.apache.org/jira/browse/NIFI-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146371#comment-15146371
 ] 

Tony Kurc commented on NIFI-1513:
---------------------------------

I scratched my head quite a bit with the Bin changes. You guessed it on the 
referencing then it changing. I contemplated adding some readwrite locking, but 
from reading code that uses Bin, it appears synchronization is done by the 
caller. This is why I added the comment in the javadoc. The changes I made to 
the code  don't fix threading issues, but I think I convinced myself the 
chances of bad were lower if someone ignored the javadoc note.

> Fix high impact coverity issues
> -------------------------------
>
>                 Key: NIFI-1513
>                 URL: https://issues.apache.org/jira/browse/NIFI-1513
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Tony Kurc
>            Assignee: Tony Kurc
>            Priority: Minor
>
> Coverity Scan discovered a few issues, this is a ticket to track progress on 
> mitigating them



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to