-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't build camel-fhir extension native image #2906
Comments
This is a new issue when using the latest GraalVM 21.1.0. The root cause is that instances of java.util.Random/java.util.SplittableRandom class won't be allowed in the native image heap since GraalVM 21.1.0. Please find the related discussion quarkusio/quarkus#14904. Plus, I don't know why, but seems in CI build(https://github.com/apache/camel-quarkus/runs/3072753498?check_suite_focus=true), the camel-fhir native test are not executed, hence can't expose this issue |
@ffang I think we disable the fhir native integration test before.
|
Does adding quarkus.native.additional-build-args=--initialize-at-run-time=org.apache.http.impl.auth.NTLMEngineImpl work? |
tried it. It works. But still it would be great if the extension itself reinitialize the class at runtime |
Yes, it works. But put it in the extension itself so that it can work out-of-the-box should be a better experience. |
get error like
The text was updated successfully, but these errors were encountered: