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/11/18 10:12:35 UTC

[jira] [Updated] (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 updated OWB-950:
------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.5.0

> 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, 1.5.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.3.4#6332)