2013-07-18 02:16:12 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
2013-07-23 23:06:11 +00:00
|
|
|
* @bug 8020664 8021215
|
2013-07-18 02:16:12 +00:00
|
|
|
* @summary doclint gives incorrect warnings on normal package statements
|
|
|
|
* @library ../..
|
2020-09-23 19:55:08 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
|
2013-07-18 02:16:12 +00:00
|
|
|
* @build DocLintTester
|
|
|
|
* @run main DocLintTester -ref Test.out Test.java
|
2013-07-23 23:06:11 +00:00
|
|
|
* @compile/fail/ref=Test.javac.out -XDrawDiagnostics -Werror -Xdoclint:all Test.java
|
2013-07-18 02:16:12 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/** Unexpected comment */
|
|
|
|
package bad;
|
|
|
|
|
2021-08-16 20:48:25 +00:00
|
|
|
/** . */
|
2021-08-11 18:03:40 +00:00
|
|
|
class Test {
|
2021-08-16 20:48:25 +00:00
|
|
|
/** . */ Test() { }
|
2021-08-11 18:03:40 +00:00
|
|
|
}
|
2013-07-18 02:16:12 +00:00
|
|
|
|