You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "ppalaga (via GitHub)" <gi...@apache.org> on 2023/07/10 20:31:25 UTC

[GitHub] [camel-quarkus] ppalaga commented on pull request #5038: Replace org.graalvm.nativeimage:svm with org.graalvm.sdk:graal-sdk which has a status of public API

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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org