RFR: 8240908: RetransformClass does not know about MethodParameters attribute [v2]
Alex Menkov
amenkov at openjdk.java.net
Mon Jan 24 10:40:46 UTC 2022
On Fri, 21 Jan 2022 19:02:39 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> 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
More information about the serviceability-dev
mailing list