test/langtools/jdk/javadoc/doclet/testSerializedForm/SerializedForm.java
changeset 52871 c09bff7928e8
parent 47216 71c04702a3d5
equal deleted inserted replaced
52870:a76b7884b59a 52871:c09bff7928e8
    29 
    29 
    30 public class SerializedForm implements Serializable {
    30 public class SerializedForm implements Serializable {
    31 
    31 
    32     /**
    32     /**
    33      * @serialField name String a test
    33      * @serialField name String a test
       
    34      * @serialField longs Long[] the longs
    34      * @see TestSerializedForm
    35      * @see TestSerializedForm
    35      */
    36      */
    36     @Deprecated
    37     @Deprecated
    37     private static final ObjectStreamField[] serialPersistentFields = {
    38     private static final ObjectStreamField[] serialPersistentFields = {
    38         new ObjectStreamField("i", int.class),
    39         new ObjectStreamField("i", int.class),
    39         new ObjectStreamField("count", Integer.TYPE),
    40         new ObjectStreamField("count", Integer.TYPE),
    40         new ObjectStreamField("name", String.class)
    41         new ObjectStreamField("name", String.class),
       
    42         new ObjectStreamField("longs", Long[].class)
    41     };
    43     };
    42 
    44 
    43     /**
    45     /**
    44      * The entry point of the test.
    46      * The entry point of the test.
    45      * @param args the array of command line arguments.
    47      * @param args the array of command line arguments.