hg: jdk7/tl/langtools: 6993978: Project Coin: Compiler support of annotation to reduce varargs warnings

joe.darcy at oracle.com joe.darcy at oracle.com
Mon Dec 13 15:06:00 PST 2010


Changeset: 7b99f98b3035
Author:    mcimadamore
Date:      2010-12-13 15:11 -0800
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/7b99f98b3035

6993978: Project Coin: Compiler support of annotation to reduce varargs warnings
Reviewed-by: jjg, darcy

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/Types.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/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/List.java
! src/share/classes/com/sun/tools/javac/util/Warner.java
! test/tools/javac/diags/CheckExamples.java
! test/tools/javac/diags/RunExamples.java
+ test/tools/javac/diags/examples/TrustMeOnNonVarargsMeth.java
+ test/tools/javac/diags/examples/TrustMeOnReifiableVarargsParam.java
+ test/tools/javac/diags/examples/TrustMeOnVirtualMethod.java
! test/tools/javac/diags/examples/UncheckedGenericArrayCreation.java
+ test/tools/javac/diags/examples/UnsafeUseOfVarargsParam.java
- test/tools/javac/diags/examples/VarargsFilename.java
- test/tools/javac/diags/examples/VarargsFilenameAdditional.java
! test/tools/javac/diags/examples/VarargsNonReifiableType.java
- test/tools/javac/diags/examples/VarargsPlural/VarargsFilename.java
- test/tools/javac/diags/examples/VarargsPlural/VarargsPlural.java
- test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsFilename.java
- test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsPlural.java
- test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsPluralAdditional.java
! test/tools/javac/varargs/6730476/T6730476a.java
! test/tools/javac/varargs/6806876/T6806876.out
+ test/tools/javac/varargs/6993978/T6993978neg.java
+ test/tools/javac/varargs/6993978/T6993978neg.out
! test/tools/javac/varargs/warning/Warn4.java
+ test/tools/javac/varargs/warning/Warn5.java




More information about the security-dev mailing list