1105N/A/*
1105N/A * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
1105N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1105N/A *
1105N/A * This code is free software; you can redistribute it and/or modify it
1105N/A * under the terms of the GNU General Public License version 2 only, as
1105N/A * published by the Free Software Foundation.
1105N/A *
1105N/A * This code is distributed in the hope that it will be useful, but WITHOUT
1105N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1105N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1105N/A * version 2 for more details (a copy is included in the LICENSE file that
1105N/A * accompanied this code).
1105N/A *
1105N/A * You should have received a copy of the GNU General Public License version
1105N/A * 2 along with this work; if not, write to the Free Software Foundation,
1105N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1105N/A *
1105N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1105N/A * or visit www.oracle.com if you need additional information or have any
1105N/A * questions.
1105N/A */
1105N/A
1105N/A//key: compiler.err.cant.apply.symbols
1105N/A//key: compiler.misc.inapplicable.method
1105N/A//key: compiler.misc.arg.length.mismatch
1105N/A//key: compiler.misc.incompatible.upper.bounds
1105N/A
1105N/Aimport java.util.List;
1105N/A
1105N/Aclass IncompatibleUpperBounds {
1105N/A <S> void m(List<? super S> s1, List<? super S> s2) { }
1105N/A void m(Object o) {}
1105N/A
1105N/A void test(List<Integer> li, List<String> ls) {
1105N/A m(li, ls);
1105N/A }
1105N/A}