mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8004832: Add new doclint package
Reviewed-by: mcimadamore
This commit is contained in:
parent
c5acce4569
commit
4a3e904c6e
100 changed files with 4459 additions and 28 deletions
12
langtools/test/tools/doclint/EmptyExceptionTest.java
Normal file
12
langtools/test/tools/doclint/EmptyExceptionTest.java
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @build DocLintTester
|
||||
* @run main DocLintTester -Xmsgs:-syntax EmptyExceptionTest.java
|
||||
* @run main DocLintTester -Xmsgs:syntax -ref EmptyExceptionTest.out EmptyExceptionTest.java
|
||||
*/
|
||||
|
||||
/** . */
|
||||
public class EmptyExceptionTest {
|
||||
/** @exception NullPointerException */
|
||||
int emptyException() throws NullPointerException { }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue