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

Fix old method replacement in ResolvedMethodTable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • hotspot
    • None
    • b16

    Description

      After the ResolvedTable_lock is taken, we need to check if the Method that we're adding has been redefined. The code in ResolvedMethodTable::add_method() checks for redefined or deleted method. It used method_idnum() rather than orig_method_idnum() for the replacement though the new function Method::get_new_method().

      Attachments

        Activity

          People

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: