author | hseigel |
Wed, 02 Mar 2016 23:48:41 +0000 | |
changeset 36397 | c487ced7231c |
parent 6150 | d055fa8ced62 |
permissions | -rw-r--r-- |
10 | 1 |
/** |
2 |
* @test /nodynamiccopyright/ |
|
3 |
* @bug 6183484 |
|
4 |
* @summary verify -nowarn is the same as -Xlint:none |
|
6150 | 5 |
* @compile/ref=NoWarn1.out -XDrawDiagnostics NoWarn.java |
6 |
* @compile/ref=NoWarn2.out -XDrawDiagnostics -nowarn NoWarn.java |
|
7 |
* @compile/ref=NoWarn2.out -XDrawDiagnostics -Xlint:none NoWarn.java |
|
10 | 8 |
*/ |
9 |
||
10 |
class NoWarn { |
|
11 |
void m(Object... args) { } |
|
12 |
void foo() { |
|
13 |
m(null); |
|
14 |
} |
|
15 |
} |