JiriOndrusek opened a new issue, #8860: URL: https://github.com/apache/camel-quarkus/issues/8860
## Description The `extensions-support/httpclient5` module references `org.apache.hc.client5.http.impl.ZstdRuntime`, which depends on the optional `com.github.luben:zstd-jni` library. When `zstd-jni` is not on the classpath, GraalVM native image compilation fails because it cannot resolve `ZstdDecompressCtx`. ## Steps to Reproduce 1. Upgrade the weaviate extension to use weaviate client v6 (which pulls in httpclient5) 2. Run a native image build for the weaviate integration test 3. Build fails with an unresolved class reference to `ZstdDecompressCtx` ## Expected Behavior The native image build should succeed, gracefully handling the absence of the optional `zstd-jni` dependency. ## Actual Behavior GraalVM native image compilation fails due to an unresolved reference to `com.github.luben.zstd.ZstdDecompressCtx`. ## Additional Context This follows the same pattern as the existing Brotli and Xz substitutions in the httpclient5 support extension. The fix is a GraalVM substitution that returns `false` from `ZstdRuntime.available()` when `zstd-jni` is absent. Discovered during weaviate native test execution after upgrading to weaviate client v6. -- 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]
