Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-950

rework ConcurrentHashMap usages to avoid java 8 issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.6, 1.5.0
    • None
    • None

    Description

      currently we have in several places in our code

      ... ConcurrentHashMap...= new ConcurrenHashMap...;
      

      Depending the usage it can lead to this kind of issues (saw with ConversationManager):

      java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView; org.apache.webbeans.conversation.ConversationManager.getPropogatedConversation(ConversationManager.java:179)
      

      The idea is to use ConcurrentMap on the left everywhere

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: