langtools/test/tools/doclint/packageTests/bad/Test.java
author akulyakh
Thu, 21 May 2015 11:41:04 -0700
changeset 30730 d3ce7619db2c
parent 19123 50733e28eaca
permissions -rw-r--r--
8076543: Add @modules as needed to the langtools tests Reviewed-by: jjg, shurailine

/*
 * @test /nodynamiccopyright/
 * @bug 8020664 8021215
 * @summary doclint gives incorrect warnings on normal package statements
 * @library ../..
 * @modules jdk.compiler/com.sun.tools.doclint
 * @build DocLintTester
 * @run main DocLintTester -ref Test.out Test.java
 * @compile/fail/ref=Test.javac.out -XDrawDiagnostics -Werror -Xdoclint:all Test.java
 */

/** Unexpected comment */
package bad;

/** */
class Test { }