Open JiangWork opened 4 months ago
Thanks for raising this, @JiangWork . Unfortunately, the information that you have provided is not sufficient for us to determine what is going wrong in your application. could you please share some details:
What version of GraalVM you're using? what OS and architecture? Do you collect the Metadata for your application as mentioned here: https://www.graalvm.org/latest/reference-manual/native-image/metadata/AutomaticMetadataCollection/ Finally can you share a complete reproducer to this issue?
hi, @oubidar-Abderrahim
The graalvm version is: graalvm-jdk-21.0.1+12.1 Os: macos
I have attached simple project code, reproduce step:
And output will be like: Hello 0 detachAllAndTearDownIsolate>>
java.lang.NoClassDefFoundError: com.oracle.svm.core.c.function.CEntryPointNativeFunctions
at org.graalvm.nativeimage.expr.impl.NativeImpl.detachAllAndTearDownIsolate(NativeImpl.java:37)
java.lang.NoClassDefFoundError: com.oracle.svm.core.c.function.CEntryPointNativeFunctions
at org.graalvm.nativeimage.expr.impl.NativeImpl.detachAllAndTearDownIsolate(NativeImpl.java:37)
Attachment: java.zip
Please upload your code in a github repo and share the link to clone it, Thank you
Hi, Team.
I am writing following code to use detachAllThreadsAndTearDownIsolate function.
I can successfully build the shared so file. But when i call this method, it will throw exception:
Any idea?