15 lines
400 B
Java
15 lines
400 B
Java
|
/*
|
||
|
* @test /nodynamiccopyright/
|
||
|
* @bug 8162576
|
||
|
* @summary Missing doclint check missing for modules
|
||
|
* @library ../..
|
||
|
* @modules jdk.compiler/com.sun.tools.doclint
|
||
|
* @build DocLintTester
|
||
|
* @run main DocLintTester -ref module-info.out module-info.java
|
||
|
* @compile/fail/ref=module-info.javac.out -XDrawDiagnostics -Werror -Xdoclint:all module-info.java
|
||
|
*/
|
||
|
|
||
|
// missing doc comment
|
||
|
module bad {
|
||
|
}
|