You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/05/01 13:16:15 UTC
[jira] [Created] (OWB-950) rework ConcurrentHashMap usages to avoid
java 8 issues
Romain Manni-Bucau created OWB-950:
--------------------------------------
Summary: 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
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)