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

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 6
    • hotspot
    • generic
    • generic


      ###@###.### 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: