When using JNI to interface between Java and C, javah parses a boolean value in Java to jBoolean in the JNI header file. When I use bool in the C file, the Visual studio compiler throws a warning that
warning C4800: 'jboolean' : forcing value to bool 'true' or 'false' (performance warning)
Is there any other data type that should be used? Or if bool is the only data type here, what exactly are the performance problems that I might face?