mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
12 lines
262 B
Java
12 lines
262 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 4695348
|
|
* @summary generics: compiler allows ref to type bounds in static members
|
|
* @author gafter
|
|
*
|
|
* @compile/fail/ref=T4695348.out -XDrawDiagnostics T4695348.java
|
|
*/
|
|
|
|
class T4695348<T> {
|
|
static T x = null;
|
|
}
|