JVMDI spec: Redefine classes needs to distinguish unsupported version error

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: