Info Call to native methods

Description

List of all calls to methods using Java Native Interface to interact with native code (written in C/C++).

Recommendation

Data passed to NewStringUTF must be in Modified UTF-8 format

UTF-16 strings are not zero-terminated

Object references should never be compared using == or != in native code. When testing for object equality, the IsSameObject() function should be used instead of ==.

Technical details
  • Method za.co.twyst.tbxml.TBXML->jniAttributeName((J J)Ljava/lang/String;)
  • Method za.co.twyst.tbxml.TBXML->jniAttributeValue((J J)Ljava/lang/String;)
  • Method za.co.twyst.tbxml.TBXML->jniChildElementNamed((J J Ljava/lang/String;)J)
  • Method za.co.twyst.tbxml.TBXML->jniElementName((J J)Ljava/lang/String;)
  • Method za.co.twyst.tbxml.TBXML->jniFirstChild((J J)J)
  • Method za.co.twyst.tbxml.TBXML->jniFree((J)V)
  • Method za.co.twyst.tbxml.TBXML->jniListAttributesForElement((J J)[J)
  • Method za.co.twyst.tbxml.TBXML->jniListElementsForQuery((J J Ljava/lang/String;)[J)
  • Method za.co.twyst.tbxml.TBXML->jniNextSibling((J J)J)
  • Method za.co.twyst.tbxml.TBXML->jniNextSiblingNamed((J J Ljava/lang/String;)J)
  • Method za.co.twyst.tbxml.TBXML->jniParse(([B)J)
  • Method za.co.twyst.tbxml.TBXML->jniRootElement((J)J)
  • Method za.co.twyst.tbxml.TBXML->jniTextForElement((J J)Ljava/lang/String;)
  • Method za.co.twyst.tbxml.TBXML->jniValueOfAttributeNamed((J J Ljava/lang/String;)Ljava/lang/String;)