2007-12-01 00:00:00 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 6230128
|
2010-07-26 21:18:45 +00:00
|
|
|
* @compile/fail/ref=T6230128.out -XDrawDiagnostics T6230128.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
class A1 {
|
|
|
|
public void foo(Object[] args) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
class A1a extends A1 {
|
|
|
|
void foo(Object... args) { }
|
|
|
|
}
|