19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 // key: compiler.warn.varargs.non.reifiable.type |
24 // key: compiler.warn.unchecked.varargs.non.reifiable.type |
25 // options: -Xlint:varargs |
25 // options: -Xlint:unchecked |
26 |
|
27 import java.util.*; |
|
28 |
26 |
29 class VarargsNonReifiableType<T> { |
27 class VarargsNonReifiableType<T> { |
30 void m(T... items) { |
28 void m(T... items) { |
31 } |
29 } |
32 } |
30 } |