[ https://issues.apache.org/jira/browse/ARIES-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479546#comment-17479546 ]
Arthur Naseef commented on ARIES-2065: -------------------------------------- I tested and it's working well. Note that I hand-ported the changes to the older library because the testing involves the aries-jax-rs-whiteboard. > ConcurrentModificationException at java.util.HashMap.computeIfAbsent > -------------------------------------------------------------------- > > Key: ARIES-2065 > URL: https://issues.apache.org/jira/browse/ARIES-2065 > Project: Aries > Issue Type: Bug > Components: Component DSL > Reporter: Arthur Naseef > Assignee: Raymond Augé > Priority: Major > > Using aries-jax-rs-whiteboard with resources from 2 different bundles, I hit > the following. > {code:java} > java.util.ConcurrentModificationException > at java.base/java.util.HashMap.computeIfAbsent(Unknown Source) > at org.apache.aries.component.dsl.OSGi.lambda$null$79(OSGi.java:734) > at > org.apache.aries.component.dsl.internal.JustOSGiImpl.lambda$new$2(JustOSGiImpl.java:47) > at > org.apache.aries.component.dsl.internal.OSGiImpl.run(OSGiImpl.java:50){code} > Debugging, this was tracked back to {{OSGi.splitBy()}} and it's use of > {color:#172b4d}HashMap{color}. > When this happens, the services fail to start up. Since this is a race > condition, it does not happen every time. -- This message was sent by Atlassian Jira (v8.20.1#820001)