Method rteference lookup logic doesn't skip type-variables as required by javac. Reviewed-by: jlahoda