langtools/test/tools/doclint/MissingCommentTest.java
author katleman
Tue, 21 Jan 2014 18:17:23 -0800
changeset 22365 895bfde469d4
parent 14952 d0022ae20516
child 30730 d3ce7619db2c
permissions -rw-r--r--
Added tag jdk9-b01 for changeset ae2d94255f32
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     1
/*
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     3
 * @build DocLintTester
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     4
 * @run main DocLintTester -Xmsgs:-missing MissingCommentTest.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     5
 * @run main DocLintTester -Xmsgs:missing -ref MissingCommentTest.out MissingCommentTest.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     6
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     7
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     8
public class MissingCommentTest {
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     9
    MissingCommentTest() { }
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    10
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    11
    int missingComment;
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    12
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    13
    void missingComment() { }
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    14
}