On Fri, 18 Mar 2022 02:10:32 GMT, David Holmes <dhol...@openjdk.org> wrote:

>> Mikael Vidstedt has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Use const char for check_and_push_string_utf
>
> src/java.base/share/native/libverify/check_code.c line 472:
> 
>> 470: 
>> 471: static void check_and_push_malloc_block(context_type *context, void 
>> *ptr);
>> 472: static void check_and_push_string_utf(context_type *context, const void 
>> *ptr);
> 
> Can't this be:
> 
> `static void check_and_push_string_utf(context_type *context, const char* 
> str);`

Indeed it can. Fixed.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7859

Reply via email to