langtools/test/tools/javac/T6224167.java
author jjg
Wed, 29 Oct 2014 17:25:23 -0700 (2014-10-30)
changeset 27319 030080f03e4f
parent 6150 d055fa8ced62
permissions -rw-r--r--
8062348: langtools tests should close file manager (group 1) Reviewed-by: darcy
/*
 * @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) { }
}