mcimadamore@25: /* mcimadamore@25: * Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. mcimadamore@25: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. mcimadamore@25: * mcimadamore@25: * This code is free software; you can redistribute it and/or modify it mcimadamore@25: * under the terms of the GNU General Public License version 2 only, as mcimadamore@25: * published by the Free Software Foundation. mcimadamore@25: * mcimadamore@25: * This code is distributed in the hope that it will be useful, but WITHOUT mcimadamore@25: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or mcimadamore@25: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License mcimadamore@25: * version 2 for more details (a copy is included in the LICENSE file that mcimadamore@25: * accompanied this code). mcimadamore@25: * mcimadamore@25: * You should have received a copy of the GNU General Public License version mcimadamore@25: * 2 along with this work; if not, write to the Free Software Foundation, mcimadamore@25: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. mcimadamore@25: * mcimadamore@25: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, mcimadamore@25: * CA 95054 USA or visit www.sun.com if you need additional information or mcimadamore@25: * have any questions. mcimadamore@25: */ mcimadamore@25: mcimadamore@25: /** mcimadamore@25: * @test mcimadamore@25: * @bug 6365166 mcimadamore@25: * @summary javac (generic) unable to resolve methods mcimadamore@25: * @author Maurizio Cimadamore mcimadamore@25: * mcimadamore@25: * @compile T6365166.java mcimadamore@25: */ mcimadamore@25: mcimadamore@25: import java.util.*; mcimadamore@25: mcimadamore@25: public class T6365166 { mcimadamore@25: static void add(List l, List la) { mcimadamore@25: l.addAll(la); //doesn't compile - but it should mcimadamore@25: } mcimadamore@25: } mcimadamore@25: