source: trunk/openjdk/langtools/test/tools/javac/T6230128.java

Last change on this file was 2, checked in by dmik, 15 years ago

Imported OpenJDK 6 b19 sources from Oracle.

File size: 241 bytes
Line 
1/*
2 * @test /nodynamiccopyright/
3 * @bug 6230128
4 * @compile/fail/ref=T6230128.out -XDstdout -XDrawDiagnostics T6230128.java
5 */
6class A1 {
7 public void foo(Object[] args) { }
8}
9
10class A1a extends A1 {
11 void foo(Object... args) { }
12}
Note: See TracBrowser for help on using the repository browser.