Tue, 31 Mar 2015 11:52:45 -0700
Merge
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 -ref AccessTest.protected.out AccessTest.java |
jjg@1455 | 7 | * @run main DocLintTester -Xmsgs -ref AccessTest.private.out AccessTest.java |
jjg@1455 | 8 | * @run main DocLintTester -Xmsgs:syntax -ref AccessTest.private.out AccessTest.java |
jjg@1455 | 9 | * @run main DocLintTester -Xmsgs:syntax/public -ref AccessTest.public.out AccessTest.java |
jjg@1455 | 10 | * @run main DocLintTester -Xmsgs:syntax/protected -ref AccessTest.protected.out AccessTest.java |
jjg@1455 | 11 | * @run main DocLintTester -Xmsgs:syntax/package -ref AccessTest.package.out AccessTest.java |
jjg@1455 | 12 | * @run main DocLintTester -Xmsgs:syntax/private -ref AccessTest.private.out AccessTest.java |
jjg@1455 | 13 | * @run main DocLintTester -Xmsgs:all,-syntax AccessTest.java |
jjg@1455 | 14 | * @run main DocLintTester -Xmsgs:all,-syntax/public AccessTest.java |
jjg@1455 | 15 | * @run main DocLintTester -Xmsgs:all,-syntax/protected -ref AccessTest.public.out AccessTest.java |
jjg@1455 | 16 | * @run main DocLintTester -Xmsgs:all,-syntax/package -ref AccessTest.protected.out AccessTest.java |
jjg@1455 | 17 | * @run main DocLintTester -Xmsgs:all,-syntax/private -ref AccessTest.package.out AccessTest.java |
jjg@1455 | 18 | */ |
jjg@1455 | 19 | |
jjg@1455 | 20 | /** */ |
jjg@1455 | 21 | public class AccessTest { |
jjg@1455 | 22 | /** |
jjg@1455 | 23 | * public a < b |
jjg@1455 | 24 | */ |
jjg@1455 | 25 | public void public_syntax_error() { } |
jjg@1455 | 26 | |
jjg@1455 | 27 | /** |
jjg@1455 | 28 | * protected a < b |
jjg@1455 | 29 | */ |
jjg@1455 | 30 | protected void protected_syntax_error() { } |
jjg@1455 | 31 | |
jjg@1455 | 32 | /** |
jjg@1455 | 33 | * package-private a < b |
jjg@1455 | 34 | */ |
jjg@1455 | 35 | void syntax_error() { } |
jjg@1455 | 36 | |
jjg@1455 | 37 | /** |
jjg@1455 | 38 | * private a < b |
jjg@1455 | 39 | */ |
jjg@1455 | 40 | private void private_syntax_error() { } |
jjg@1455 | 41 | } |
jjg@1455 | 42 | |
jjg@1455 | 43 | /** */ |
jjg@1455 | 44 | class AccessTest2 { |
jjg@1455 | 45 | /** |
jjg@1455 | 46 | * public a < b |
jjg@1455 | 47 | */ |
jjg@1455 | 48 | public void public_syntax_error() { } |
jjg@1455 | 49 | |
jjg@1455 | 50 | /** |
jjg@1455 | 51 | * protected a < b |
jjg@1455 | 52 | */ |
jjg@1455 | 53 | protected void protected_syntax_error() { } |
jjg@1455 | 54 | |
jjg@1455 | 55 | /** |
jjg@1455 | 56 | * package-private a < b |
jjg@1455 | 57 | */ |
jjg@1455 | 58 | void syntax_error() { } |
jjg@1455 | 59 | |
jjg@1455 | 60 | /** |
jjg@1455 | 61 | * private a < b |
jjg@1455 | 62 | */ |
jjg@1455 | 63 | private void private_syntax_error() { } |
jjg@1455 | 64 | } |
jjg@1455 | 65 |