hg: jdk7/tl/langtools: 6945418: Project Coin: Simplified Varargs Method Invocation
maurizio.cimadamore at oracle.com
maurizio.cimadamore at oracle.com
Thu Jun 10 08:33:48 UTC 2010
Changeset: 46cf751559ae
Author: mcimadamore
Date: 2010-06-10 09:29 +0100
URL: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/46cf751559ae
6945418: Project Coin: Simplified Varargs Method Invocation
Summary: Add new mandatory warning for unsafe vararg method declaration. Warning can be suppressed as usual (@SuppressWarnings("varargs")/-Xlint:-varargs)
Reviewed-by: jjg, darcy
! src/share/classes/com/sun/tools/javac/code/Lint.java
! 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
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/List.java
! test/tools/javac/varargs/6730476/T6730476a.java
! test/tools/javac/varargs/6806876/T6806876.out
+ test/tools/javac/varargs/warning/Warn4.java
More information about the security-dev
mailing list