JDK-5057930 : JVMTI Spec: redefine should return special code if the class is in error init state
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2004-06-04
  • Updated: 2023-12-13
  • Resolved: 2016-11-03
Related Reports
Relates :  
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.


Comments
This is not on our list of current priorities, if this changes please re-open this issue.
03-11-2016

EVALUATION ###@###.### 2004-06-07 We need to add a new JVMTI_ERROR for this special case.
07-06-2004