The implementation here does not release the JNI characters after converting them to Go, which leaks the object on the JVM side.
We can see that in the spec the returned character buffer is valid until a call to ReleaseStringChars.
The implementation [here](https://git.wow.st/gmp/jni/src/commit/34026c7e22d0/jni.go#L408) does not release the JNI characters after converting them to Go, which leaks the object on the JVM side.
We can see that in the [spec](https://docs.oracle.com/en/java/javase/17/docs/specs/jni/functions.html#getstringchars) the returned character buffer is valid until a call to [ReleaseStringChars](https://docs.oracle.com/en/java/javase/17/docs/specs/jni/functions.html#releasestringchars).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The implementation here does not release the JNI characters after converting them to Go, which leaks the object on the JVM side.
We can see that in the spec the returned character buffer is valid until a call to ReleaseStringChars.