author | mikejwre |
Wed, 09 Jun 2010 18:56:41 -0700 | |
changeset 5634 | 895b66935810 |
parent 10 | 06bc494ca11e |
child 6150 | d055fa8ced62 |
permissions | -rw-r--r-- |
/** * @test /nodynamiccopyright/ * @bug 6183484 * @summary verify -nowarn is the same as -Xlint:none * @compile/ref=NoWarn1.out -XDstdout -XDrawDiagnostics NoWarn.java * @compile/ref=NoWarn2.out -XDstdout -XDrawDiagnostics -nowarn NoWarn.java * @compile/ref=NoWarn2.out -XDstdout -XDrawDiagnostics -Xlint:none NoWarn.java */ class NoWarn { void m(Object... args) { } void foo() { m(null); } }