2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 23:53:42 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4482403
|
|
|
|
* @summary javac failed to check second bound
|
|
|
|
* @author gafter
|
|
|
|
*
|
2015-05-15 23:53:42 +00:00
|
|
|
* @compile/fail/ref=Multibound1.out -XDrawDiagnostics Multibound1.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
2010-03-03 00:43:29 +00:00
|
|
|
package Multibound1;
|
2007-12-01 00:00:00 +00:00
|
|
|
|
|
|
|
interface A {}
|
|
|
|
interface B {}
|
|
|
|
class C<T extends A&B> {}
|
|
|
|
class D implements A {}
|
|
|
|
class E extends C<D> {}
|