fix a bug in the conversion of jboolean arrays