langtools/test/tools/javac/generics/T4739399.java
author sogoel
Fri, 15 May 2015 16:53:42 -0700
changeset 30721 1024d425d97e
parent 30719 91834c070ba5
permissions -rw-r--r--
8074425: Group 13b: golden files for tests in tools/javac/generics dir Reviewed-by: jjg, darcy, mcimadamore

/*
 * @test /nodynamiccopyright/
 * @bug 4739399
 * @summary generics: crash after error regarding bounds on type variable
 * @author gafter
 *
 * @compile/fail/ref=T4739399.out -XDrawDiagnostics   T4739399.java
 */

class T4739399 {
    class Crash1 {}

    interface C1GenericInterface {}

    interface C1B1<X> {}

    class Crash1Test<X> {
        public <M extends C1GenericInterface,N extends M & C1B1<X>> void meth( ) {}
    }
}