ppalaga commented on PR #5038:
URL: https://github.com/apache/camel-quarkus/pull/5038#issuecomment-1629688574

   @zakkak replacing org.graalvm.nativeimage:svm with org.graalvm.sdk:graal-sdk 
is not that straightforward as I hoped for. We use 
com.oracle.svm.core.jdk.Resources.registerResource() to override the service 
provider file `META-INF/services/javax.xml.transform.TransformerFactory` from 
xalan.jar with our custom implementation. Do you have any idea how we could get 
rid of com.oracle.svm.core.jdk.Resources.registerResource()? Either replace it 
with some similar method from graal-sdk, or figure out a way how to force-pass 
our custom service file resource to GraalVM native-image? Do you perhaps know 
whether Quarkus/GraalVM considers the resources from the application before it 
looks into dependencies? If so, we could generate the service file in the app 
and use the NativeImageResourceBuildItem or ServiceProviderBuildItem. 
   
   


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