Check whether the Java object is an array type in JNI
•
Java
Suppose I have a MyClass class in Java, is there any way to check that the jobobject is MyClass [] [] in JNI?
My initial idea was to use env - > isinstanceof (myobj, myarrayclass), but calling env - > findclass ("[MyClass") will throw NoClassDefFoundError
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码