You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/04/19 17:11:57 UTC

[GitHub] [camel-quarkus] ppalaga commented on issue #2489: Unable to build mongo-to-slack in native with 1.13 quarkus

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:
users@infra.apache.org