16N/A/*
797N/A * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
16N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
16N/A *
16N/A * This code is free software; you can redistribute it and/or modify it
16N/A * under the terms of the GNU General Public License version 2 only, as
16N/A * published by the Free Software Foundation.
16N/A *
16N/A * This code is distributed in the hope that it will be useful, but WITHOUT
16N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16N/A * version 2 for more details (a copy is included in the LICENSE file that
16N/A * accompanied this code).
16N/A *
16N/A * You should have received a copy of the GNU General Public License version
16N/A * 2 along with this work; if not, write to the Free Software Foundation,
16N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
16N/A *
553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
553N/A * or visit www.oracle.com if you need additional information or have any
553N/A * questions.
16N/A */
16N/A
16N/A/*
16N/A * @test
16N/A * @bug 6569789
16N/A * @summary Compiler test lang/TYPE/type153/type15304/type15304.html fails since jdk7 b05
16N/A * @compile T6569789.java
16N/A */
16N/A
16N/Aclass C {}
16N/Ainterface I {}
16N/Ainterface I1 {}
16N/Ainterface I2 {}
16N/Aclass CT extends C implements I, I1, I2 {}
16N/A
16N/Apublic class T6569789 {
16N/A public static void m() {
16N/A CT ct = new CT();
16N/A testMethod(ct);
16N/A }
16N/A
16N/A static <W extends C & I & I1 & I2, T extends W> void testMethod(T t) {}
524N/A}