jdk-24/test/langtools/tools/doclint/MissingThrowsTest.java

19 lines
470 B
Java
Raw Normal View History

/*
* @test /nodynamiccopyright/
* @bug 8004832
* @summary Add new doclint package
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -Xmsgs:-missing MissingThrowsTest.java
* @run main DocLintTester -Xmsgs:missing -ref MissingThrowsTest.out MissingThrowsTest.java
*/
/** . */
public class MissingThrowsTest {
/** . */
void missingThrows() throws Exception { }
/** . */
MissingThrowsTest() { }
}