JVM_GetDeclaredClasses and JVM_GetClassInterfaces should return instances of Class[], not Object[]