Category: jni

  • JNI method and constructor signature cheat sheet

      I just started learning LS2J, and the JNI signatures that are required when getting methods and constructors are a bit hard to understand. Here are my findings so far.   B=byte C=char D=double F=float I=int J=long S=short V=void Z=boolean Lfully-qualified-class=fully qualified class [type=array of type> (argument types)return type=method type. If no arguments, use empty argument types: (). […]