diff -r 2f2ead61db06 -r 7b99f98b3035 src/share/classes/com/sun/tools/javac/resources/compiler.properties --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties Mon Dec 13 14:08:01 2010 -0800 +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties Mon Dec 13 15:11:00 2010 -0800 @@ -516,6 +516,15 @@ compiler.err.var.might.be.assigned.in.loop=\ variable {0} might be assigned in loop +compiler.err.varargs.invalid.trustme.anno=\ + Invalid {0} annotation. {1} +compiler.misc.varargs.trustme.on.reifiable.varargs=\ + Varargs element type {0} is reifiable. +compiler.misc.varargs.trustme.on.non.varargs.meth=\ + Method {0} is not a varargs method. +compiler.misc.varargs.trustme.on.virtual.varargs=\ + Instance method {0} is not final. + # In the following string, {1} will always be the detail message from # java.io.IOException. compiler.err.class.cant.write=\ @@ -600,20 +609,6 @@ compiler.note.unchecked.plural.additional=\ Some input files additionally use unchecked or unsafe operations. -compiler.note.varargs.filename=\ - {0} declares unsafe vararg methods. -compiler.note.varargs.plural=\ - Some input files declare unsafe vararg methods. -# The following string may appear after one of the above unsafe varargs -# messages. -compiler.note.varargs.recompile=\ - Recompile with -Xlint:varargs for details. - -compiler.note.varargs.filename.additional=\ - {0} declares additional unsafe vararg methods. -compiler.note.varargs.plural.additional=\ - Some input files additionally declares unsafe vararg methods. - compiler.note.sunapi.filename=\ {0} uses internal proprietary API that may be removed in a future release. compiler.note.sunapi.plural=\ @@ -841,9 +836,12 @@ compiler.warn.unchecked.generic.array.creation=\ unchecked generic array creation for varargs parameter of type {0} -compiler.warn.varargs.non.reifiable.type=\ +compiler.warn.unchecked.varargs.non.reifiable.type=\ Possible heap pollution from parameterized vararg type {0} +compiler.warn.varargs.unsafe.use.varargs.param=\ + Varargs method could cause heap pollution from non-reifiable varargs parameter {0} + compiler.warn.missing.deprecated.annotation=\ deprecated item is not annotated with @Deprecated @@ -876,6 +874,9 @@ explicit: {0}\n\ inferred: {1} +compiler.warn.varargs.redundant.trustme.anno=\ + Redundant {0} annotation. {1} + ##### ## The following are tokens which are non-terminals in the language. They should