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

JVMDI spec: Redefine classes needs to distinguish unsupported version error

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • core-svc
    • beta
    • generic
    • generic

      The JVMDI function jvmdi_RedefineClasses will return an error value if any of
      its argument class definitions is unacceptable to the VM. Reasons for this
      correspond 1-1 with reasons for the VM rejecting class definitions passed into
      ClassLoader.defineClass(). These include ClassFormatError (resp.
      JVMDI_ERROR_INVALID_CLASS_FORMAT) and
      ClassCircularityError (resp. JVMDI_ERROR_CIRCULAR_CLASS_DEFINITION.
      Recently, the JVMS was revised to also throw
      UnsupportedVersionError. Consequently, we need to add
      JVMDI_ERROR_UNSUPPORTED_VERTSION to reflect this. The change affects the
      documentation of jvmdi_RedefinedClasses and require the error to be defined.


      gilad.bracha@eng 1998-09-24

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: