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

JPDA: handle class/method MODIFIERS_CHANGE_NOT_IMPLEMENTED errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-svc
    • beta2
    • generic
    • generic
    • Not verified

      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)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: