utopia-rise / godot-kotlin-jvm

Godot Kotlin JVM Module
MIT License
636 stars 44 forks source link

bootstrap.jar can't read white spaces on a file path #353

Open yov3v opened 2 years ago

yov3v commented 2 years ago

If you use white spaces or symbols (i.e. '#,$,&,*'), bootstrap.jar seems to not be able to read the filepath and throws some random error such as this :

Exception in thread "main" java.lang.ClassNotFoundException: godot.core.TransferContext
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
ERROR: Godot-JVM: An exception has occurred!
   at: (modules\kotlin_jvm\src\jni\env.cpp:67)
FATAL ERROR in native method: Bad global or local ref passed to JNI
piiertho commented 2 years ago

Is this windows only ?