langtools/test/tools/javac/generics/Multibound1.java
author hseigel
Wed, 02 Mar 2016 23:48:41 +0000
changeset 36397 c487ced7231c
parent 30721 1024d425d97e
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 4482403
 * @summary javac failed to check second bound
 * @author gafter
 *
 * @compile/fail/ref=Multibound1.out -XDrawDiagnostics  Multibound1.java
 */

package Multibound1;

interface A {}
interface B {}
class C<T extends A&B> {}
class D implements A {}
class E extends C<D> {}