test/tools/javac/generics/wildcards/6651719/T6651719a.java

Mon, 26 Oct 2015 13:23:30 -0700

author
asaha
date
Mon, 26 Oct 2015 13:23:30 -0700
changeset 2999
683b3e7e05a7
parent 554
9d9f26857129
child 2525
2eb010b6cb22
permissions
-rw-r--r--

Added tag jdk8u76-b00 for changeset 10ffafaf5340

mcimadamore@78 1 /*
ohair@554 2 * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
mcimadamore@78 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
mcimadamore@78 4 *
mcimadamore@78 5 * This code is free software; you can redistribute it and/or modify it
mcimadamore@78 6 * under the terms of the GNU General Public License version 2 only, as
mcimadamore@78 7 * published by the Free Software Foundation.
mcimadamore@78 8 *
mcimadamore@78 9 * This code is distributed in the hope that it will be useful, but WITHOUT
mcimadamore@78 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
mcimadamore@78 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
mcimadamore@78 12 * version 2 for more details (a copy is included in the LICENSE file that
mcimadamore@78 13 * accompanied this code).
mcimadamore@78 14 *
mcimadamore@78 15 * You should have received a copy of the GNU General Public License version
mcimadamore@78 16 * 2 along with this work; if not, write to the Free Software Foundation,
mcimadamore@78 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
mcimadamore@78 18 *
ohair@554 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@554 20 * or visit www.oracle.com if you need additional information or have any
ohair@554 21 * questions.
mcimadamore@78 22 */
mcimadamore@78 23
mcimadamore@78 24 /*
mcimadamore@78 25 * @test
mcimadamore@78 26 * @bug 6651719
mcimadamore@78 27 * @summary Compiler crashes possibly during forward reference of TypeParameter
mcimadamore@78 28 * @compile T6651719a.java
mcimadamore@78 29 */
mcimadamore@78 30
mcimadamore@78 31 public class T6651719a<T extends S, S> {
mcimadamore@78 32 T6651719a<? extends T6651719a<?, ?>, ? extends T6651719a<?, ?>> crash = null;
mcimadamore@78 33 }

mercurial