Thu, 21 Feb 2013 14:43:51 -0800
8008405: Now that metafactory is in place, add javac lambda serialization tests
Summary: Tests part of original langtools serialization review.
Reviewed-by: mcimadamore
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 7020657 6985719
4 *
5 * @summary Javac rejects a fairly common idiom with raw override and interfaces
6 * @author Maurizio Cimadamore
7 * @compile/fail/ref=T7020657neg.out -XDrawDiagnostics T7020657neg.java
8 *
9 */
11 import java.util.*;
13 class T7020657neg {
14 interface A {
15 int get(List<String> l);
16 }
18 interface B {
19 int get(List<Integer> l);
20 }
22 interface C extends A, B { }
23 }