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

JPLIS spec: redefineClasses behaviour while UnmodifiableClassException

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b49
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: ooR10006 Date: 03/15/2004



      Specification of java.lang.instrument.Instrumentation in JDK1.5 b42
      (introduced by CCC 4988776: JVMTI Spec: BCI and class sharing)
      says for the method redefineClasses(ClassDefinition[] definitions):
      "Throws:
      ...
      UnmodifiableClassException - if a specified class cannot be modified"

      However, the method accepts an array of ClassDefinitions as its input
      and the specification does not describe what happens with those
      ClassDefinitions which correspond to modifiable classes - either none
      of the classes are redefined or some classes still redefined. This
      should be clarified in the specification.


      ======================================================================

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: