[INACTIVE] Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.
This method ends up defering to JVM_GetClassDeclaredMethods, which
creates an array of java.lang.reflect.Method instances and then
calls getName on each one through the java.lang.reflect.Member
interface. However, Method is a "bootstrap" class, meaning the VM has
built-in knowledge of it and includes a tentative version built-in but
must load the real version from the classpath at runtime before
invoking methods on it. Normally this happens naturally when Method
instances are created in Java code, but here we're creating them in
the VM instead, which doesn't automatically cause the real class to be
loaded. So we must do so explicitly.
...library
This method ends up defering to JVM_GetClassDeclaredMethods, which creates an array of java.lang.reflect.Method instances and then calls getName on each one through the java.lang.reflect.Member interface. However, Method is a "bootstrap" class, meaning the VM has built-in knowledge of it and includes a tentative version built-in but must load the real version from the classpath at runtime before invoking methods on it. Normally this happens naturally when Method instances are created in Java code, but here we're creating them in the VM instead, which doesn't automatically cause the real class to be loaded. So we must do so explicitly.
Fixes #398