Tue, 08 Jan 2019 16:17:56 -0800
Added tag jdk8u202-b26 for changeset c0f526208190
jjg@1455 | 1 | /* |
jjg@1455 | 2 | * @test /nodynamiccopyright/ |
jjg@1465 | 3 | * @bug 8004832 |
jjg@1465 | 4 | * @summary Add new doclint package |
jjg@1455 | 5 | * @build DocLintTester |
jjg@1455 | 6 | * @run main DocLintTester -Xmsgs:-missing MissingReturnTest.java |
jjg@1455 | 7 | * @run main DocLintTester -Xmsgs:missing -ref MissingReturnTest.out MissingReturnTest.java |
jjg@1455 | 8 | */ |
jjg@1455 | 9 | |
jjg@1455 | 10 | /** . */ |
jjg@1455 | 11 | public class MissingReturnTest { |
jjg@1455 | 12 | /** no return allowed */ |
jjg@1455 | 13 | MissingReturnTest() { } |
jjg@1455 | 14 | |
jjg@1455 | 15 | /** no return allowed */ |
jjg@1455 | 16 | void return_void() { } |
jjg@1455 | 17 | |
jjg@1455 | 18 | /** no return required */ |
jjg@1455 | 19 | Void return_Void() { } |
jjg@1455 | 20 | |
jjg@1455 | 21 | /** */ |
jjg@1455 | 22 | int missingReturn() { } |
jjg@1455 | 23 | } |