langtools/test/tools/doclint/EmptySerialDataTest.java
author naoto
Tue, 29 Mar 2016 17:06:33 -0700
changeset 36739 145210aba850
parent 30730 d3ce7619db2c
permissions -rw-r--r--
8152704: jlink command line output/help message improvement Reviewed-by: mchung
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/
14962
19ffdfafbcd2 8005307: fix missing @bug tags
jjg
parents: 14952
diff changeset
     3
 * @bug 8004832
19ffdfafbcd2 8005307: fix missing @bug tags
jjg
parents: 14952
diff changeset
     4
 * @summary Add new doclint package
30730
d3ce7619db2c 8076543: Add @modules as needed to the langtools tests
akulyakh
parents: 14962
diff changeset
     5
 * @modules jdk.compiler/com.sun.tools.doclint
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     6
 * @build DocLintTester
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     7
 * @run main DocLintTester -Xmsgs:-syntax EmptySerialDataTest.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     8
 * @run main DocLintTester -Xmsgs:syntax -ref EmptySerialDataTest.out EmptySerialDataTest.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     9
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    10
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    11
import java.io.ObjectOutputStream;
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    12
import java.io.Serializable;
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    13
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    14
/** . */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    15
public class EmptySerialDataTest implements Serializable {
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    16
    /** @serialData */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    17
    private void writeObject(ObjectOutputStream s) { }
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    18
}