1105N/A/**
1105N/A * @test /nodynamiccopyright/
1105N/A * @bug 7086601
1105N/A * @summary Error message bug: cause for method mismatch is 'null'
1105N/A * @compile/fail/ref=T7086601a.out -XDrawDiagnostics T7086601a.java
1105N/A */
1105N/A
1105N/Aclass T7086601 {
1105N/A static <S> void m1(Iterable<? super S> s1, Iterable<? super S> s2) { }
1105N/A static void m1(Object o) {}
1105N/A
1105N/A static <S> void m2(Iterable<? super S> s1, Iterable<? super S> s2, Iterable<? super S> s3) { }
1105N/A static void m2(Object o) {}
1105N/A
1105N/A @SafeVarargs
1105N/A static <S> void m3(Iterable<? super S>... ss) { }
1105N/A static void m3(Object o) {}
1105N/A
1105N/A static void test1(Iterable<String> is, Iterable<Integer> ii) {
1105N/A m1(is, ii);
1105N/A }
1105N/A
1105N/A static void test2(Iterable<String> is, Iterable<Integer> ii, Iterable<Double> id) {
1105N/A m2(is, ii, id);
1105N/A }
1105N/A
1105N/A static void test3(Iterable<String> is, Iterable<Integer> ii) {
1105N/A m3(is, ii);
1105N/A }
1105N/A
1105N/A static void test4(Iterable<String> is, Iterable<Integer> ii, Iterable<Double> id) {
1105N/A m3(is, ii, id);
1105N/A }
1105N/A}