Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8015973

CopyOnWriteArrayList:addAllAbsent incorrectly adds the ConcurrentHashMap elements

XMLWordPrintable

    • b02
    • generic
    • generic
    • Verified

      CopyOnWriteArrayList:addAllAbsent incorrectly add the ConcurrentHashMap elements to the list.
      As a result list contains elements that was there before the addAll call + the multiple instances of the last element of ConcurentHashMap.

            aefimov Aleksej Efimov
            aefimov Aleksej Efimov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: