jamesnetherton commented on issue #7895:
URL: https://github.com/apache/camel-quarkus/issues/7895#issuecomment-3472493695

   I think the problem is due to `.parallel()` here:
   
   
https://github.com/apache/camel-quarkus/blob/main/integration-tests/jpa/src/test/java/org/apache/camel/quarkus/component/jpa/it/JpaTestBase.java#L84-L86
   
   `JsonbBuilder.create()` will trigger usage of `ServiceLoader`, which IIRC, 
is not thread safe (not sure why it works on < JDK 25). Thus you can hit issues 
when using the `ServiceLoader` `Iterator` methods like `hasNext()`, `next()` 
etc.
   
   I don't see any reason to use `.parallel()`, so we can solve this issue by 
removing it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to