Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6328530

JVMTI Spec: clarify can_redefine_any_class capability

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • hotspot
    • 5.0
    • b73
    • generic
    • generic

      Jim wrote:
      > I created a JDWP/JDI bug for this , but still am not quite sure
      > of what is going on with unmodifiable classes. The JVMTI spec says
      >
      > can_redefine_any_class RedefineClasses can be called on any class
      > (can_redefine_classes must also be set)
      >
      > ( A technically untrue defn - I can always call RedefineClasses on anything I
      > want. But it might not always work.)

      A more precise definition would be:

             Can retransform or redefine any non-primitive non-array class.
             RetransformClasses is used for retransformation and also requires
             the can_retransform_classes capability.
             RedefineClasses is used for redefinition and also requires
             the can_redefine_classes capability.

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: