Check whether the Java object is an array type in JNI

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
分享
二维码
< <上一篇
下一篇>>