The spec of the "can_redefine_any_class" tells:
"Can modify (retransform or redefine) any modifiable class. See IsModifiableClass."
Should it also say the following: " (can_redefine_classes must also be set)" ?
The relationship between the two capabilities is not clear.
As the "can_redefine_any_class" spec tells: "Can modify (retransform or redefine)..."
which means that it allows both to REDEFINE and to RETRANSFORM any class.
Then there can be a confusion on how to understand the capability "can_retransform_any_class".
So that the spec might need some clarification.
"Can modify (retransform or redefine) any modifiable class. See IsModifiableClass."
Should it also say the following: " (can_redefine_classes must also be set)" ?
The relationship between the two capabilities is not clear.
As the "can_redefine_any_class" spec tells: "Can modify (retransform or redefine)..."
which means that it allows both to REDEFINE and to RETRANSFORM any class.
Then there can be a confusion on how to understand the capability "can_retransform_any_class".
So that the spec might need some clarification.
- csr for
-
JDK-8223915 JVMTI Spec: can_redefine_any_class capability spec is inconsistent
- Closed