jamesnetherton commented on issue #3265: URL: https://github.com/apache/camel-quarkus/issues/3265#issuecomment-1049791231
This is only an issue when the application is under test where multiple Quarkus class loaders are in play: * Quarkus base runtime class loader * Quarkus runtime class loader At runtime there is just the `RunnerClassLoader`. Maybe there should be an `else` clause added here to add the `BasePackageScanResolver` `ClassLoader` only if the TCCL was `null`: https://github.com/apache/camel/blob/main/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/BasePackageScanResolver.java#L44 That way you avoid adding multiple `ClassLoader` instances. -- 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]
