Fix possible RCE when jni new a UTF string.

Bug: 109838537
Test: manual
Change-Id: I114adad304ac5643550737e27f8cc4dfd567806d
3 files changed