langtools/test/tools/javac/T6230128.java
author lana
Tue, 25 Apr 2017 07:38:50 +0000
changeset 44909 b53c770dc04f
parent 6150 d055fa8ced62
permissions -rw-r--r--
Added tag jdk-10+1 for changeset 3a409afd3f86

/*
 * @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) { }
}