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

JVMTI Spec: can_redefine_any_class capability spec is inconsistent

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 13
    • 9
    • hotspot
    • b23

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              sspitsyn Serguei Spitsyn
              sspitsyn Serguei Spitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: