8005244: Implement overload resolution as per latest spec EDR

Add support for stuck expressions and provisional applicability

Reviewed-by: jjg
This commit is contained in:
Maurizio Cimadamore 2013-01-21 20:13:56 +00:00
parent e5aa886e8b
commit 442154dcf9
58 changed files with 794 additions and 457 deletions

View file

@ -186,10 +186,7 @@ public class SamConversionComboTest {
if(context != Context.CONSTRUCTOR && fInterface != FInterface.C && methodDef == MethodDef.METHOD6)
//method that throws exceptions not thrown by the interface method is a mismatch
return false;
if(context == Context.CONSTRUCTOR &&
methodReference != MethodReference.METHOD1 &&
methodReference != MethodReference.METHOD2 &&
methodReference != MethodReference.METHOD3)//ambiguous reference
if(context == Context.CONSTRUCTOR)
return false;
return true;
}