On Fri, 21 Jan 2022 19:02:39 GMT, Serguei Spitsyn <[email protected]> wrote:
>> Alex Menkov has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> fixed condition
>
> src/hotspot/share/prims/jvmtiRedefineClasses.cpp line 3684:
>
>> 3682: // Update constant pool indices in the method's method_parameters.
>> 3683: int mp_length = method->method_parameters_length();
>> 3684: if (mp_length >= 0) {
>
> This line is better to be:
> 3684 if (mp_length > 0) {
Fixed.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7180