[
https://issues.apache.org/jira/browse/OWB-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986659#comment-13986659
]
Mark Struberg commented on OWB-952:
-----------------------------------
Happens because Java8 now compiles the same code to
{code}
6: invokevirtual #7 // Method
java/util/concurrent/ConcurrentHashMap.keySet:()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
{code}
due to new inner class ConcurrentHashMap#KeySetView.
> ensure we only use ConcurrentMap and not ConcurrentHashMap API to avoid
> issues with java 8
> ------------------------------------------------------------------------------------------
>
> Key: OWB-952
> URL: https://issues.apache.org/jira/browse/OWB-952
> Project: OpenWebBeans
> Issue Type: Bug
> Affects Versions: 1.2.3, 2.0.0
> Reporter: Romain Manni-Bucau
>
> Currently we use ConcurrentHashMap directly (ie our varaibles/fields). In
> Java 8 API was broken so we should avoid it and stay hidden behind
> ConcurrentMap API everuwhere.
--
This message was sent by Atlassian JIRA
(v6.2#6252)