1.1 --- a/src/share/classes/com/sun/tools/javac/comp/Resolve.java Thu Feb 28 14:00:52 2013 +0000 1.2 +++ b/src/share/classes/com/sun/tools/javac/comp/Resolve.java Thu Feb 28 14:05:44 2013 +0000 1.3 @@ -984,7 +984,7 @@ 1.4 Type ret_t = desc_t.getReturnType(); 1.5 Type ret_s = desc_s.getReturnType(); 1.6 result &= ((tree.refPolyKind == PolyKind.STANDALONE) 1.7 - ? standaloneMostSpecific(ret_t, ret_s, tree.type, warn) 1.8 + ? standaloneMostSpecific(ret_t, ret_s, tree.sym.type.getReturnType(), warn) 1.9 : polyMostSpecific(ret_t, ret_s, warn)); 1.10 } else { 1.11 return;