You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using GraalVM native image build can speedup almost any Java application and use less memory.
I try to build native image from project that use jnr-fuse and get errors at runtime
Caused by: com.oracle.svm.core.jdk.UnsupportedFeatureError: No classes have been predefined during the image build to load from bytecodes at runtime.
at com.oracle.svm.core.util.VMError.unsupportedFeature(VMError.java:87)
at com.oracle.svm.core.hub.PredefinedClassesSupport.throwNoBytecodeClasses(PredefinedClassesSupport.java:76)
at com.oracle.svm.core.hub.PredefinedClassesSupport.loadClass(PredefinedClassesSupport.java:130)
at java.lang.ClassLoader.defineClass(ClassLoader.java:263)
at jnr.ffi.provider.jffi.AsmClassLoader.defineClass(AsmClassLoader.java:36)
at jnr.ffi.provider.jffi.AsmStructByReferenceFromNativeConverter.newStructByReferenceClass(AsmStructByReferenceFromNativeConverter.java:170)
How I understand, JNR create classes at runtime. And this is problem for native image.
So the question is: can you prepare library for native image build or pre-generate classes for GraalVM agentlib?
The text was updated successfully, but these errors were encountered:
Hi,
Using GraalVM native image build can speedup almost any Java application and use less memory.
I try to build native image from project that use jnr-fuse and get errors at runtime
How I understand, JNR create classes at runtime. And this is problem for native image.
So the question is: can you prepare library for native image build or pre-generate classes for GraalVM agentlib?
The text was updated successfully, but these errors were encountered: