Thu, 26 Jul 2018 15:47:44 +0800
Added tag mips64el-jdk8u172-b13 for changeset a5ddc08adcc0
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8004832
4 * @summary Add new doclint package
5 * @build DocLintTester
6 * @run main DocLintTester -Xmsgs:-missing MissingReturnTest.java
7 * @run main DocLintTester -Xmsgs:missing -ref MissingReturnTest.out MissingReturnTest.java
8 */
10 /** . */
11 public class MissingReturnTest {
12 /** no return allowed */
13 MissingReturnTest() { }
15 /** no return allowed */
16 void return_void() { }
18 /** no return required */
19 Void return_Void() { }
21 /** */
22 int missingReturn() { }
23 }