2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-15 16:53:08 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4739399
|
|
|
|
* @summary generics: crash after error regarding bounds on type variable
|
|
|
|
* @author gafter
|
|
|
|
*
|
2015-05-15 16:53:08 +00:00
|
|
|
* @compile/fail/ref=T4739399.out -XDrawDiagnostics T4739399.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class T4739399 {
|
|
|
|
class Crash1 {}
|
|
|
|
|
|
|
|
interface C1GenericInterface {}
|
|
|
|
|
|
|
|
interface C1B1<X> {}
|
|
|
|
|
|
|
|
class Crash1Test<X> {
|
|
|
|
public <M extends C1GenericInterface,N extends M & C1B1<X>> void meth( ) {}
|
|
|
|
}
|
|
|
|
}
|