ppalaga commented on issue #2489:
URL: https://github.com/apache/camel-quarkus/issues/2489#issuecomment-822633870


   Class initialization is tricky. I always enjoy re-reading 
https://www.graalvm.org/reference-manual/native-image/ClassInitialization/ 
   
   My spontaneous hypothesis for this one is that when Slack is alone, the 
native compiler is able to correctly auto-classify SlackConfig as runtime init, 
but when combined with Mongo, there is some explicit config to init some class 
eagerly that implictily causes SlackConfig to be initialited at build time too. 


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to