zbendhiba commented on issue #3189:
URL: https://github.com/apache/camel-quarkus/issues/3189#issuecomment-968133567


   Finally found out why it fails. Monday, I'll propose a Substitution for next 
release and see how we could fix this in Atlasmap. I'll address also the 
changes needed to be done for  this release : jandex for instance.
   This is [the problematic 
line](https://github.com/atlasmap/atlasmap/blob/15d9e76f743ce67438316e28bf3c7d6a79a50513/lib/core/src/main/java/io/atlasmap/core/DefaultAtlasCompoundClassLoader.java#L68).
 
   
   In this 
[commit](https://github.com/atlasmap/atlasmap/commit/04254c4a611213152f7e537c1b4e1da34127b746),
 the LinkedList has been replaced by a LinkedHashSet. This works fine on JVM 
mode, as the different URLs loaded have different names and paths. And if we 
debug, we can see different URLs from the different modules : JAVA, JSON, CSV, 
XML
   
   In other hands, on native image, NativeImageResourceBuildItem, we get same 
name & path of URL for all the files in the different atlasmap modules. Always 
beginning from META-INF, so same URL. 
   I'm wondering if there is some issue to address in Quarkus. WDYT @ppalaga 
@jamesnetherton ? 
   
   Anyway, it's kind of difficult to debug. As the name, path ... is the same. 
But with LinkedList, it loads later the right 4 modules. So I would love to dig 
deeper, but I would need some help or have more time to investigate.


-- 
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: commits-unsubscr...@camel.apache.org

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


Reply via email to