RFR: 7124710: interleaved RedefineClasses() and RetransformClasses() calls may have a problem [v5]
Alex Menkov
amenkov at openjdk.org
Tue Sep 13 21:09:50 UTC 2022
On Tue, 13 Sep 2022 09:49:58 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>>
>> s/verity/verify/
>
> test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineRetransform/libRedefineRetransform.cpp line 222:
>
>> 220: caps.can_retransform_classes = 1;
>> 221: res = jvmti->AddCapabilities(&caps);
>> 222: if (res != JVMTI_ERROR_NONE) {
>
> The type of res is jint. It is better to use a variable of type jvmtiError. I've missed this initially.
Fixed
-------------
PR: https://git.openjdk.org/jdk/pull/10032
More information about the serviceability-dev
mailing list