I am working with JNI and I have to pass in some generic types to the C++. I am stuck with how to approach this on the C++ side
HashMap
The runtime signature is just plain HashMap and ArrayList - Generics are a compile-time thing.
ArrayList
You can use javah to generate a C header file with correct signatures for native functions.
javah