Srikanth Adayapalam 6c2a33a67b 8162576: Missing doclint check missing for modules
Co-authored-by: Lance Andersen <lance.andersen@oracle.com>
Reviewed-by: jjg, ksrini
2016-08-17 10:34:48 +05:30

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 {
}