Fixed MesosNativeLibrary to use '_NUM' MESOS_VERSION macros. Review: https://reviews.apache.org/r/53270
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b0dd63ea Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b0dd63ea Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b0dd63ea Branch: refs/heads/0.28.x Commit: b0dd63ea35b4338dc365da7db6c79eb9731e8e8b Parents: 6408c54 Author: Joris Van Remoortere <joris.van.remoort...@gmail.com> Authored: Fri Oct 28 15:50:10 2016 -0400 Committer: Joris Van Remoortere <joris.van.remoort...@gmail.com> Committed: Mon Nov 7 14:36:46 2016 -0500 ---------------------------------------------------------------------- src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/b0dd63ea/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp ---------------------------------------------------------------------- diff --git a/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp b/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp index ff7f3c9..f6cd437 100644 --- a/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp +++ b/src/java/jni/org_apache_mesos_MesosNativeLibrary.cpp @@ -22,7 +22,7 @@ extern "C" { /* * Class: org_apache_mesos_MesosNativeLibrary - * Method: version + * Method: _version * Signature: ()Lorg/apache/mesos/MesosNativeLibrary$Version; */ JNIEXPORT jobject JNICALL Java_org_apache_mesos_MesosNativeLibrary__1version @@ -33,9 +33,9 @@ JNIEXPORT jobject JNICALL Java_org_apache_mesos_MesosNativeLibrary__1version jobject jversion = env->NewObject( clazz, _init_, - (jlong) MESOS_MAJOR_VERSION, - (jlong) MESOS_MINOR_VERSION, - (jlong) MESOS_PATCH_VERSION); + (jlong) MESOS_MAJOR_VERSION_NUM, + (jlong) MESOS_MINOR_VERSION_NUM, + (jlong) MESOS_PATCH_VERSION_NUM); return jversion; }