diff --git a/bindings/java/JniUtils.hpp b/bindings/java/JniUtils.hpp index 10fd70be..f0cb47d9 100644 --- a/bindings/java/JniUtils.hpp +++ b/bindings/java/JniUtils.hpp @@ -924,7 +924,8 @@ namespace jni { return CppType{ env, v }; } - if (!env->IsInstanceOf(v, JIteratorBase::jClass)) throw std::runtime_error{ StringConcat_v.data()}; + // The following line crashes clang compiler. I don't know why, but it's not necessary. So I commented it out. + if (!env->IsInstanceOf(v, JIteratorBase::jClass)) throw std::runtime_error{ ""/*StringConcat_v.data()*/}; return CppType{ env, v }; } };