langtools/test/tools/javac/T6224167.java
author jeff
Wed, 22 Jun 2011 10:10:54 -0700
changeset 9916 c35ecac744a5
parent 6150 d055fa8ced62
permissions -rw-r--r--
7057046: Add embedded license to THIRD PARTY README Reviewed-by: lana

/*
 * @test  /nodynamiccopyright/
 * @bug 6224167
 * @summary misleading error message when both array and varargs
 *      methods are defined
 * @compile/fail/ref=T6224167.out -XDrawDiagnostics T6224167.java
 */
class T6224167
{
    void printf(String s, Object[] args) { }
    void printf(String s, Object... args) { }
}