apupier commented on issue #1641: URL: https://github.com/apache/camel-quarkus/issues/1641#issuecomment-3402277653
Started the basic steps to have a starting point on this branch: https://github.com/apupier/camel-quarkus/tree/1641-FlinkNative native build ` mvn clean verify -Pnative -Dquarkus.native.additional-build-args="--trace-object-instantiation=java.util.Random"` is currently failing with: ``` [ERROR] Caused by: io.smallrye.common.process.AbnormalExitException: Process exited abnormally (pid 147997) with exit code 1 with error output: [ERROR] > Error: Unsupported features in 2 methods [ERROR] > Detailed message: [ERROR] > Error: Detected an instance of Random/SplittableRandom class in the image heap. Instances created during image generation have cached seed values and don't behave as expected. Try avoiding to initialize the class that caused initialization of the object. [ERROR] > The culprit object has been instantiated by the 'com.esotericsoftware.kryo.util.ObjectMap' class initializer with the following trace: [ERROR] > at java.util.Random.<init>(Random.java:318) [ERROR] > … (skipped 176 line(s)) … [ERROR] > [ERROR] > [ERROR] > at org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129) [ERROR] > at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:809) ``` -- 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]
