langtools/test/tools/javac/T6230128.java
author ssides
Wed, 09 Jul 2014 15:14:06 +0400
changeset 25760 7955db32d6b0
parent 6150 d055fa8ced62
permissions -rw-r--r--
8046597: fix doclint issues in swing classes, part 4 of 4 Reviewed-by: pchelko

/*
 * @test  /nodynamiccopyright/
 * @bug 6230128
 * @compile/fail/ref=T6230128.out -XDrawDiagnostics T6230128.java
 */
class A1 {
    public void foo(Object[] args) { }
}

class A1a extends A1 {
    void foo(Object... args) { }
}