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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_2.4
    • Verification:
      Not verified

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: