zhfeng commented on code in PR #6778:
URL: https://github.com/apache/camel-quarkus/pull/6778#discussion_r1840237404


##########
extensions-support/httpclient5/deployment/src/main/java/org/apache/camel/quarkus/support/httpclient5/deployment/HttpClient5Processor.java:
##########
@@ -34,4 +46,54 @@ NativeImageResourceBuildItem suffixListResource() {
     void 
runtimeInitializedClasses(BuildProducer<RuntimeInitializedClassBuildItem> 
runtimeInitializedClasses) {
         runtimeInitializedClasses.produce(new 
RuntimeInitializedClassBuildItem(NTLM_ENGINE_IMPL));
     }
+
+    @BuildStep(onlyIf = { NativeOrNativeSourcesBuild.class, 
BrotliAbsentBooleanSupplier.class })
+    void generateBrotliInputStreamClass(BuildProducer<GeneratedClassBuildItem> 
generatedClass) {

Review Comment:
   I think the GraalVM will do something with this optional deps in the native 
to avoid such issues. Maybe improve the source analysis.



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