Method::get_c2i_unverified_entry() and get_c2i_no_clinit_check_entry() are missing check for abstract method

XMLWordPrintable

    • 26
    • b27

      Before JDK-8365501 abstract methods used to have a special AdapterHandlerEntry that would return would return address of SharedRuntime::_wrong_method_abstract_blob when Method::get_c2i_unverified_entry() is called and nullptr when Method::get_c2i_no_clinit_check_entry() is called. But this is no longer the case after JDK-8365501 which removed the special AdapterHandlerEntry and replaced it with is_abstract() checks in the Method::get_i2c_entry() and Method::get_c2i_entry() methods.
      But the is_abstact() check in missing in Method::get_c2i_unverified_entry() and Method::get_c2i_no_clinit_check_entry().

            Assignee:
            Ashutosh Mehra
            Reporter:
            Ashutosh Mehra
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: