Support spring-graalvm-native
letrungtrung opened this issue · 2 comments
Hi dubbo team,
Currently, Spring team support graalvm native build, how long Dubbo will support it?
https://github.com/spring-projects-experimental/spring-graalvm-native
Good Advice~
I'm currently trying native-convert a spring-boot + dubbo sample app, & find that dubbo uses curator/javassist to dynamically create *$Adaptive classes for zookeeper client, however, these runtime-created classes seem cannot be recorded by tracing agent, & use GraalVM's @TargetClass & @substitute to replace some class fiels to fix the code-running logic
but graalvm native-image then still reports wierd "javassist.CannotCompileException: by com.oracle.svm.core.jdk.UnsupportedFeatureError: Unsupported method java.lang.ClassLoader.defineClass(String, byte[], int, int, ProtectionDomain) is reachable error
"