Repository: ignite Updated Branches: refs/heads/ignite-1282 4e143d7e4 -> 56ea681b7
Minor fix in CPP "common" module. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/56ea681b Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/56ea681b Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/56ea681b Branch: refs/heads/ignite-1282 Commit: 56ea681b77543dff4fb4675078b43b1340614b93 Parents: 4e143d7 Author: vozerov-gridgain <[email protected]> Authored: Thu Oct 8 16:19:42 2015 +0300 Committer: vozerov-gridgain <[email protected]> Committed: Thu Oct 8 16:19:42 2015 +0300 ---------------------------------------------------------------------- modules/platforms/cpp/common/src/java.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/56ea681b/modules/platforms/cpp/common/src/java.cpp ---------------------------------------------------------------------- diff --git a/modules/platforms/cpp/common/src/java.cpp b/modules/platforms/cpp/common/src/java.cpp index 2c2b38d..a76e035 100644 --- a/modules/platforms/cpp/common/src/java.cpp +++ b/modules/platforms/cpp/common/src/java.cpp @@ -1995,11 +1995,11 @@ namespace ignite { JNIEnv* env = Attach(); - bool res = env->CallBooleanMethod(obj, jvm->GetMembers().m_PlatformAtomicLong_isClosed); + jboolean res = env->CallBooleanMethod(obj, jvm->GetMembers().m_PlatformAtomicLong_isClosed); ExceptionCheck(env); - return res; + return res != 0;; } void JniContext::AtomicLongClose(jobject obj)
