mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
Reviewed-by: jjg, darcy
This commit is contained in:
parent
87db401cf5
commit
6ef5228632
30 changed files with 718 additions and 300 deletions
|
@ -22,10 +22,8 @@
|
|||
*/
|
||||
|
||||
// key: compiler.warn.unchecked.generic.array.creation
|
||||
// key: compiler.warn.varargs.non.reifiable.type
|
||||
// options: -Xlint:unchecked,varargs
|
||||
|
||||
import java.util.*;
|
||||
// key: compiler.warn.unchecked.varargs.non.reifiable.type
|
||||
// options: -Xlint:unchecked
|
||||
|
||||
class UncheckedGenericArrayCreation<T> {
|
||||
void m(T t1, T t2, T t3) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue