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

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Tue May 14 20:20:30 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20190514/36169a4f/attachment.html>


More information about the serviceability-dev mailing list