8004101: Add checks for method reference well-formedness

Bring method reference type-checking in sync with latest EDR

Reviewed-by: jjg
This commit is contained in:
Maurizio Cimadamore 2012-11-30 15:14:36 +00:00
parent 0db60b7bb2
commit c76c08e82a
15 changed files with 195 additions and 57 deletions

View file

@ -133,15 +133,6 @@ public class SamConversion {
} catch (Exception e) {
assertTrue(false);
}
bar = new A()::method6;
try {
bar.m(1);
assertTrue(false);
} catch (MyException e) {
} catch (Exception e) {
assertTrue(false);
}
}
/**