2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2015-05-16 00:43:21 +00:00
|
|
|
* @test /nodynamiccopyright/
|
2007-12-01 00:00:00 +00:00
|
|
|
* @bug 4695348
|
|
|
|
* @summary generics: compiler allows ref to type bounds in static members
|
|
|
|
* @author gafter
|
|
|
|
*
|
2015-05-16 00:43:21 +00:00
|
|
|
* @compile/fail/ref=T4695348.out -XDrawDiagnostics T4695348.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
class T4695348<T> {
|
|
|
|
static T x = null;
|
|
|
|
}
|