--- a/test/langtools/jdk/javadoc/doclet/testSerializedForm/SerializedForm.java Thu Dec 06 10:07:54 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testSerializedForm/SerializedForm.java Thu Dec 06 12:34:28 2018 +0100
@@ -31,13 +31,15 @@
/**
* @serialField name String a test
+ * @serialField longs Long[] the longs
* @see TestSerializedForm
*/
@Deprecated
private static final ObjectStreamField[] serialPersistentFields = {
new ObjectStreamField("i", int.class),
new ObjectStreamField("count", Integer.TYPE),
- new ObjectStreamField("name", String.class)
+ new ObjectStreamField("name", String.class),
+ new ObjectStreamField("longs", Long[].class)
};
/**