core/jni: fix a warning

Change-Id: I29e451dc29f4f204d86047f254582f568016c338
Signed-off-by: zwliew <zhaoweiliew@gmail.com>