Thu, 26 Jul 2018 15:47:44 +0800
Added tag mips64el-jdk8u172-b13 for changeset a5ddc08adcc0
aoqi@0 | 1 | /* |
aoqi@0 | 2 | * @test /nodynamiccopyright/ |
aoqi@0 | 3 | * @bug 8004832 |
aoqi@0 | 4 | * @summary Add new doclint package |
aoqi@0 | 5 | * @build DocLintTester |
aoqi@0 | 6 | * @run main DocLintTester -Xmsgs:-syntax EmptySerialFieldTest.java |
aoqi@0 | 7 | * @run main DocLintTester -Xmsgs:syntax -ref EmptySerialFieldTest.out EmptySerialFieldTest.java |
aoqi@0 | 8 | */ |
aoqi@0 | 9 | |
aoqi@0 | 10 | import java.io.ObjectStreamField; |
aoqi@0 | 11 | import java.io.Serializable; |
aoqi@0 | 12 | |
aoqi@0 | 13 | /** . */ |
aoqi@0 | 14 | public class EmptySerialFieldTest implements Serializable { |
aoqi@0 | 15 | |
aoqi@0 | 16 | /** |
aoqi@0 | 17 | * @serialField empty String |
aoqi@0 | 18 | */ |
aoqi@0 | 19 | private static final ObjectStreamField[] serialPersistentFields = { |
aoqi@0 | 20 | new ObjectStreamField("empty", String.class), |
aoqi@0 | 21 | }; |
aoqi@0 | 22 | } |