JDK-6306942 : JVMTI Spec: Add IsModifiableClass to test if class can be redefined/retransformed
  • Type: Enhancement
  • Status: Resolved
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: jvmti
  • Priority: P3
  • Affected Version: 6
  • OS: generic
  • CPU: generic
  • Submit Date: 2005-08-05
  • Updated Date: 2011-02-16
  • Resolved Date: 2005-10-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6
6 b58Resolved
Related Reports
Relates :  
Description
JVMTI needs a function to test if a class is modifable with RetransformClasses or RedefineClasses. This will allow an agent to build a list of modifable classes to pass to RetransformClasses. Currently if any of the classes in the list is not modifiable the Retransform (or Redefine) will return an error. 

This is partically important in cases where the can_redefine_classes capability is available but the can_redefine_any_class capability is not available (eg: in our implementation where a late-binding agent is loaded into a VM with class data sharing enabled - in that case we can only retransform or redefine shared that aren't shared).

Comments
EVALUATION See description
2005-08-15