[
https://issues.apache.org/jira/browse/DIRMINA-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-416.
---------------------------------
Resolution: Fixed
Changed as following:
http://svn.apache.org/viewvc?view=rev&revision=562355
> Possible visibility problem against Selector access
> ---------------------------------------------------
>
> Key: DIRMINA-416
> URL: https://issues.apache.org/jira/browse/DIRMINA-416
> Project: MINA
> Issue Type: Bug
> Components: Transport
> Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.0.4, 1.1.1
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 1.0.5, 1.1.2
>
>
> selector member variable of various NIO transport services is not declared as
> 'volatile', so it can possibly lead to a visibility problem, as discussed
> like the following:
> http://www.nabble.com/Unsafe-concurrency-issue-in-SocketIoProcessor---tf4162935s16868.html
> In 1.1, we could simply use volatile keyword for the member variables, but
> will need explicit synchronization block in 1.0 because most Java 1.4 VMs
> doesn't support volatile keyword.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.