This is an automated email from the ASF dual-hosted git repository. wesm pushed a commit to branch maint-0.14.x in repository https://gitbox.apache.org/repos/asf/arrow.git
commit a76e7b6fb7fb26d90f34e115b272d7710fd6a5b2 Author: Philipp Moritz <[email protected]> AuthorDate: Thu Jul 11 11:43:32 2019 -0700 ARROW-5904: [Java] [Plasma] Fix compilation of Plasma Java client Author: Philipp Moritz <[email protected]> Closes #4849 from pcmoritz/plasma-status-fix and squashes the following commits: c596c12b3 <Philipp Moritz> fix plasma status message --- cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc b/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc index 248c268..0964df4 100644 --- a/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc +++ b/cpp/src/plasma/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc @@ -111,13 +111,13 @@ JNIEXPORT jobject JNICALL Java_org_apache_arrow_plasma_PlasmaClientJNI_create( std::shared_ptr<Buffer> data; Status s = client->Create(oid, size, md, md_size, &data); - if (s.IsPlasmaObjectExists()) { + if (plasma::IsPlasmaObjectExists(s)) { jclass exceptionClass = env->FindClass("org/apache/arrow/plasma/exceptions/DuplicateObjectException"); env->ThrowNew(exceptionClass, oid.hex().c_str()); return nullptr; } - if (s.IsPlasmaStoreFull()) { + if (plasma::IsPlasmaStoreFull(s)) { jclass exceptionClass = env->FindClass("org/apache/arrow/plasma/exceptions/PlasmaOutOfMemoryException"); env->ThrowNew(exceptionClass, "");
