-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/7455/
-----------------------------------------------------------

Review request for mesos, Benjamin Hindman, John Sirois, and Vinod Kone.


Description
-------

We discovered this when developing a jenkins plugin, where special sandboxing 
of the classloader takes place.
This fixes the native library loading in that environment and leaves the tests 
intact.

In the case of running our java example framework, the thread's context class 
loader and the MesosNativeLibrary.class class loader were the same. (This is 
not the case when running our jenkins plugin due to the classloader 
manipulation taking place there).


Diffs
-----

  src/java/generated/org/apache/mesos/MesosNativeLibrary.java.in 
354b15b6a25a6087e753bef07b0d5104f0269f87 
  src/java/jni/convert.cpp 45efa64380f265615b314556f9927b11ad8639e1 

Diff: https://reviews.apache.org/r/7455/diff/


Testing
-------

Jenkins plugin + make check.


Thanks,

Ben Mahler

Reply via email to