Revert "BUG-632: supress unneeded round-trips to JNI"

This reverts commit 85c269067f9fbfc29a71810efef2614ea11f2b4f.

Change-Id: Ic0e93eddeb32c691f0cf82e6c2f53a346dfce795
Signed-off-by: Robert Varga <rovarga@cisco.com>