test/tools/javac/diags/examples/VarargsArgumentMismatch.java

changeset 1352
d4b3cb1ece84
parent 1305
9d47f4850714
child 2525
2eb010b6cb22
equal deleted inserted replaced
1351:f4e45397722a 1352:d4b3cb1ece84
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 // key: compiler.err.cant.apply.symbol.1 24 // key: compiler.err.cant.apply.symbol
25 // key: compiler.misc.varargs.argument.mismatch 25 // key: compiler.misc.varargs.argument.mismatch
26 // key: compiler.misc.inconvertible.types 26 // key: compiler.misc.inconvertible.types
27 27
28 class VarargsArgumentMismatch { 28 class VarargsArgumentMismatch {
29 void m(String s, Integer... is) {} 29 void m(String s, Integer... is) {}

mercurial