Fix for #1790: Never look for certain methods in java.lang.Object when searching for refining methods
Test for #1790: Never look for certain methods in java.lang.Object when searching for refining methods