mcimadamore@82: /* ohair@554: * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. mcimadamore@82: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. mcimadamore@82: * mcimadamore@82: * This code is free software; you can redistribute it and/or modify it mcimadamore@82: * under the terms of the GNU General Public License version 2 only, as mcimadamore@82: * published by the Free Software Foundation. mcimadamore@82: * mcimadamore@82: * This code is distributed in the hope that it will be useful, but WITHOUT mcimadamore@82: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or mcimadamore@82: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License mcimadamore@82: * version 2 for more details (a copy is included in the LICENSE file that mcimadamore@82: * accompanied this code). mcimadamore@82: * mcimadamore@82: * You should have received a copy of the GNU General Public License version mcimadamore@82: * 2 along with this work; if not, write to the Free Software Foundation, mcimadamore@82: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. mcimadamore@82: * ohair@554: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@554: * or visit www.oracle.com if you need additional information or have any ohair@554: * questions. mcimadamore@82: */ mcimadamore@82: mcimadamore@82: /* mcimadamore@82: * @test mcimadamore@82: * @bug 6675483 mcimadamore@82: * mcimadamore@82: * @summary Javac rejects multiple type-variable bound declarations starting with an enum type mcimadamore@82: * @author Maurizio Cimadamore mcimadamore@82: * mcimadamore@82: * @compile T6675483.java mcimadamore@82: */ mcimadamore@82: mcimadamore@82: public class T6675483 { mcimadamore@82: enum E implements Comparable {} mcimadamore@82: mcimadamore@82: interface C> { mcimadamore@82: > void m(); mcimadamore@82: } mcimadamore@82: }