• Daniel Black's avatar
    connect engine: GetStringUTFChars takes pointer arg · 6b22cc4a
    Daniel Black authored
    Avoids compile errors of the form:
    
    /storage/connect/jdbconn.cpp:1473:41: error: cannot initialize a parameter of type 'jboolean *' (aka 'unsigned char *') with an rvalue of type 'jboolean' (aka 'unsigned char')
       name = env->GetStringUTFChars(label, (jboolean)false);
                                            ^~~~~~~~~~~~~~~
    /usr/lib/jvm/java-8-oracle/include/jni.h:1616:58: note: passing argument to parameter 'isCopy' here
        const char* GetStringUTFChars(jstring str, jboolean *isCopy) {
    6b22cc4a
javaconn.cpp 18.4 KB