mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 00:54:38 +02:00
8007610: javadoc doclint does not work with -private
Reviewed-by: darcy
This commit is contained in:
parent
59318f1b2e
commit
b30e5c6313
3 changed files with 11 additions and 5 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8004834
|
||||
* @bug 8004834 8007610
|
||||
* @summary Add doclint support into javadoc
|
||||
*/
|
||||
|
||||
|
@ -157,6 +157,10 @@ public class DocLintTest {
|
|||
Main.Result.OK,
|
||||
EnumSet.of(Message.DL_WRN12));
|
||||
|
||||
test(Arrays.asList(rawDiags, "-private"),
|
||||
Main.Result.ERROR,
|
||||
EnumSet.of(Message.DL_ERR6, Message.DL_ERR9, Message.DL_WRN12));
|
||||
|
||||
test(Arrays.asList(rawDiags, "-Xdoclint:syntax", "-private"),
|
||||
Main.Result.ERROR,
|
||||
EnumSet.of(Message.DL_ERR6, Message.DL_WRN12));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue