test/langtools/tools/javac/generics/Multibound1.java
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 30721 langtools/test/tools/javac/generics/Multibound1.java@1024d425d97e
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse

/*
 * @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> {}