RFC: 8223915: JVMTI Spec: can_redefine_any_class capability spec is inconsistent

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Thu May 16 16:32:18 UTC 2019


On 5/16/19 03:33, Alan Bateman wrote:
>
>
> On 16/05/2019 08:22, serguei.spitsyn at oracle.com wrote:
>>
>> Not sure, if I understand you correctly because there can be a 
>> confusion here.
>>
>> Is it about the IsModifiableModule? :
> My comment was about how can_redefine_any_class is documented in the 
> Capabilities table of IsModifiableClass. It currently has "If 
> possessed then all classes (except ...) are modifiable".
>
> That said, I think I'm coming around to agreeing with your proposal. 
> If/when there are unmodifiable modules then it will not be possible 
> for agents to obtain the can_redefine_any_class capability.

Agreed.

Thanks,
Serguei


> -Alan



More information about the serviceability-dev mailing list