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

changeset 1296
cddc2c894cc6
parent 689
77cc34d5e548
child 1305
9d47f4850714
equal deleted inserted replaced
1293:b2d8a270f5f2 1296:cddc2c894cc6
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 // key: compiler.err.cant.apply.symbol.1 24 // key: compiler.err.cant.apply.symbol.1
25 // key: compiler.misc.varargs.argument.mismatch 25 // key: compiler.misc.varargs.argument.mismatch
26 // key: compiler.misc.inconvertible.types
26 27
27 class VarargsArgumentMismatch { 28 class VarargsArgumentMismatch {
28 void m(String s, Integer... is) {} 29 void m(String s, Integer... is) {}
29 { this.m("1", "2", "3"); } 30 { this.m("1", "2", "3"); }
30 } 31 }

mercurial