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


   It looks like AtlasMap is making an assumption about 
`java.lang.ClassLoader.getResources(String)` that does not hold for the native 
mode. Possible fix strategies that come to my mind:
   
   * Compute URL equality based on content returned via URL.openStream() 
instead of URL.hashCode() & URL.equals()
   * Check whether some Identity Set implementation would work as expected in 
both JVM and native mode. Just note the impl would have to keep ordering to be 
consistent with `java.lang.ClassLoader.getResource(String)` which 
`Collections.newSetFromMap(new IdentityHashMap())` does not.
   


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