On Mon, 15 Aug 2022 13:21:49 GMT, Alan Bateman <[email protected]> wrote:
>> Aleksey Shipilev has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Init buf in newStringCp1252
>
> src/java.base/share/native/libjava/jni_util.c line 540:
>
>> 538: {
>> 539: int len = (int) strlen(str);
>> 540: jchar buf[512] = {0};
>
> Also newSizedString8859_1, I would have expected it to complain there too.
I think the compilers complain about `malloc`-ed paths, but we can harmonize
`newSizedString8859_1` too. Please see new commit.
-------------
PR: https://git.openjdk.org/jdk/pull/9702