hg: jdk7/tl/langtools: 6730476: invalid "unchecked generic array" warning

maurizio.cimadamore at sun.com maurizio.cimadamore at sun.com
Wed Apr 21 11:25:00 UTC 2010


Changeset: 04cf82179fa7
Author:    mcimadamore
Date:      2010-04-21 12:24 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/04cf82179fa7

6730476: invalid "unchecked generic array" warning
Summary: Reifiable-ness of varargs element type should be checked after JLS3 15.12.2.8
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/varargs/6730476/T6730476a.java
+ test/tools/javac/varargs/6730476/T6730476b.java




More information about the security-dev mailing list