HRCPP-161 C++ JNI test windows failure - uninitialized variable result i...

...n swig on exception

https://issues.jboss.org/browse/HRCPP-161