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

JVMTI Spec: redefine should return special code if the class is in error init state

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description


      ###@###.### 2004-06-04

      The the jvmti RedefineClasses() is fixed as part of bug 5008824
      to check whether class is in error init state or not. In Tiger
      this check code will return JVMTI_ERROR_INVALID_CLASS error.

      VM_RedefineClasses::compare_class_versions():
        // Check whether class is in the error init state.
        if (k_h_old->is_in_error_state()) {
          return JVMTI_ERROR_INVALID_CLASS;
        }

      In Mustang we have to replace this error with something
      more specific like JVMTI_ERROR_CLASS_IN_ERROR_INIT_STATE.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sspitsyn Serguei Spitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: