The JDI implementation of redefineClasses and the SDK copy (which is master)
of jvmdi.h is out of sync with JVMDI spec, the VM implementaion and the HotSpot
copy of jvmdi.h - the latter all have the error codes:
/* The new class version has different modifiers and */
/* can_make_binary_compatible_changes is false */
#define JVMDI_ERROR_CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED ((jvmdiError)70)
/* A method in the new class version has different modifiers */
/* than its counterpart in the old class version */
/* and can_make_binary_compatible_changes is false */
#define JVMDI_ERROR_METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED ((jvmdiError)71)
of jvmdi.h is out of sync with JVMDI spec, the VM implementaion and the HotSpot
copy of jvmdi.h - the latter all have the error codes:
/* The new class version has different modifiers and */
/* can_make_binary_compatible_changes is false */
#define JVMDI_ERROR_CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED ((jvmdiError)70)
/* A method in the new class version has different modifiers */
/* than its counterpart in the old class version */
/* and can_make_binary_compatible_changes is false */
#define JVMDI_ERROR_METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED ((jvmdiError)71)