author | hseigel |
Wed, 02 Mar 2016 23:48:41 +0000 | |
changeset 36397 | c487ced7231c |
parent 30719 | 91834c070ba5 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
30719
91834c070ba5
8074417: Group 13a: golden files for tests in tools/javac/generics dir
sogoel
parents:
5520
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
10 | 3 |
* @bug 4739399 |
4 |
* @summary generics: crash after error regarding bounds on type variable |
|
5 |
* @author gafter |
|
6 |
* |
|
30719
91834c070ba5
8074417: Group 13a: golden files for tests in tools/javac/generics dir
sogoel
parents:
5520
diff
changeset
|
7 |
* @compile/fail/ref=T4739399.out -XDrawDiagnostics T4739399.java |
10 | 8 |
*/ |
9 |
||
10 |
class T4739399 { |
|
11 |
class Crash1 {} |
|
12 |
||
13 |
interface C1GenericInterface {} |
|
14 |
||
15 |
interface C1B1<X> {} |
|
16 |
||
17 |
class Crash1Test<X> { |
|
18 |
public <M extends C1GenericInterface,N extends M & C1B1<X>> void meth( ) {} |
|
19 |
} |
|
20 |
} |