dkimitsa / robovm-libcore10-smoketest

Libcore10 Runtime integration into RoboVM: tests/issues/test builds
0 stars 0 forks source link

VM doesn't start if aggressive tree shaker is used #2

Closed dkimitsa closed 2 years ago

dkimitsa commented 4 years ago

if <treeShaker>aggressive</treeShaker> is configured VM fails to boot.
Crash log:

rvmGetMethods + 8337964 (class.c:1104)
findMethod + 8438124 (method.c:60)
findMethod + 8438124 (method.c:60)
getMethod + 8406288 (method.c:73)
rvmGetMethod + 8406752 (method.c:142)
rvmGetInstanceMethod + 8406104 (method.c:167)
rvmThrowNew + 8352060 (exception.c:99)
rvmThrowNoSuchMethodError + 8352940 (exception.c:167)
rvmGetMethod + 8406804 (method.c:145)
RegisterNatives + 8462660 (native.c:176)
_JNIEnv::RegisterNatives(_jclass*, JNINativeMethod const*, int) + 86372 (jni.h:977)
jniRegisterNativeMethods + 86048 (JNIHelp.cpp:78)
jniRegisterNativeMethods(_JNIEnv*, char const*, JNINativeMethod const*, int) + 2654584 (JNIHelp.h:195)
register_java_math_NativeBN + 2665544 (java_math_NativeBN.cpp:569)
luniRegister + 2653956 (Register.cpp:37)
rvmRTInit + 21168 (rt.c:148)
rvmStartup + 8361320 (init.c:358)
bcmain + 8285808 (bc.c:91)
main + 8285680 (bc.c:103)
start + 4
LordTylus commented 3 years ago

Hey there,

are there any news regarding this issue, and also regarding the missing reflection APIs?

dkimitsa commented 2 years ago

@LordTylus
hi, aggressive tree shaker was fixed a bit in build #3 , closing. please open any new issue at robovmx issue page