Last change
on this file was 2, checked in by dmik, 15 years ago |
Imported OpenJDK 6 b19 sources from Oracle.
|
File size:
333 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * @test /nodynamiccopyright/
|
---|
3 | * @bug 6224167
|
---|
4 | * @summary misleading error message when both array and varargs
|
---|
5 | * methods are defined
|
---|
6 | * @compile/fail/ref=T6224167.out -XDstdout -XDrawDiagnostics T6224167.java
|
---|
7 | */
|
---|
8 | class T6224167
|
---|
9 | {
|
---|
10 | void printf(String s, Object[] args) { }
|
---|
11 | void printf(String s, Object... args) { }
|
---|
12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.