RFR: 8308748: JNU_GetStringPlatformChars may write to String's internal memory array [v2]
Rudi Horn
duke at openjdk.org
Wed May 31 11:51:56 UTC 2023
On Fri, 26 May 2023 19:54:07 GMT, Rudi Horn <duke at openjdk.org> wrote:
>> This change prevents the contents of the internal string array from being copied back when releasing it.
>
> Rudi Horn has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>
> Use JNI_ABORT to release string bytes
I have not checked other uses, but they are probably not as critical yet given the special status and frequent use of strings. I can possibly revisit this issue in the future in a further issue / PR if I find time at some stage.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14117#issuecomment-1570043153
More information about the core-libs-dev
mailing list