Please, review CSR:
https://bugs.openjdk.java.net/browse/JDK-8223915
for enhancement:
https://bugs.openjdk.java.net/browse/JDK-8046018
Summary:
The spec of the "can_redefine_any_class" needs to be more clear and
consistent.
The suggestion is to change the "can_redefine_any_class" capability spec|
from:||
"Can modify (retransform or redefine) any modifiable class. See
IsModifiableClass." |||
|to: "Can redefine any modifiable class. See IsModifiableClass.
(can_redefine_classes must also be set)" |The RetransformClasses can cause class redefinitions.
But I'm not sure, it is worth to me mentioned, as it is confusing.
||
Thanks,
Serguei