You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2014/06/06 21:58:01 UTC
[jira] [Resolved] (OWB-950) rework ConcurrentHashMap usages to
avoid java 8 issues
[ https://issues.apache.org/jira/browse/OWB-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg resolved OWB-950.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.2.6
Assignee: Romain Manni-Bucau
> rework ConcurrentHashMap usages to avoid java 8 issues
> ------------------------------------------------------
>
> Key: OWB-950
> URL: https://issues.apache.org/jira/browse/OWB-950
> Project: OpenWebBeans
> Issue Type: Bug
> Reporter: Romain Manni-Bucau
> Assignee: Romain Manni-Bucau
> Fix For: 1.2.6, 2.0.0
>
>
> currently we have in several places in our code
> {code}
> ... ConcurrentHashMap...= new ConcurrenHashMap...;
> {code}
> Depending the usage it can lead to this kind of issues (saw with ConversationManager):
> {code}
> java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; org.apache.webbeans.conversation.ConversationManager.getPropogatedConversation(ConversationManager.java:179)
> {code}
> The idea is to use ConcurrentMap on the left everywhere
--
This message was sent by Atlassian JIRA
(v6.2#6252)