Passing native api pointer from cpp to java finished