koskom-alt commented on issue #3998:
URL: https://github.com/apache/camel-quarkus/issues/3998#issuecomment-1216918305
@jamesnetherton, found a temporary solution, chose a class
```
import com.oracle.svm.core.annotate.AutomaticFeature;
import com.oracle.svm.core.jni.JNIRuntimeAccess;
import org.graalvm.nativeimage.hosted.Feature;
@AutomaticFeature
public class JNIRegistrationFeature implements Feature {
public void beforeAnalysis(Feature.BeforeAnalysisAccess access) {
JNIRuntimeAccess.register(String.class.getDeclaredConstructors());
}
}
```
--
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]