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

Return value from ResolveMethods ignored when resolving class; can cause crash

XMLWordPrintable

    • 1.1
    • sparc
    • solaris_2.4
    • Not verified

      In Locked_ResolveClass we call ResolveMethods which can fail because we
      run out of malloc space. ResolveMethods returns an error if this happens,
      but Locked_ResolveClass ignores it. Locked_ResolveClass could easily take
      the error into account, so this should be an easy fix. In doing so, make sure
      that the class is marked as having not been resolved and having had an
      error, like when RuntimeInitClass fails in Locked_ResolveClass.

            tlindholsunw Timothy Lindholm (Inactive)
            tlindholsunw Timothy Lindholm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: