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

Fix old method replacement in ResolvedMethodTable

XMLWordPrintable

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

      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().

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

              Created:
              Updated:
              Resolved: