Skip to content

Commit c6bd489

Browse files
committedApr 4, 2023
8305206: Add @SPEC tags in java.base/java.* (part 1)
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
1 parent ccbb0e8 commit c6bd489

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+268
-2
lines changed
 

‎src/java.base/share/classes/java/io/ObjectInputStream.java

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@
242242
* <cite>Java Object Serialization Specification,</cite> Section 1.13,
243243
* "Serialization of Records"</a> for additional information.
244244
*
245+
* @spec serialization/index.html Java Object Serialization Specification
245246
* @author Mike Warres
246247
* @author Roger Riggs
247248
* @see java.io.DataInput

‎src/java.base/share/classes/java/io/ObjectOutputStream.java

+2
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@
155155
* <p>Records are serialized differently than ordinary serializable or externalizable
156156
* objects, see <a href="ObjectInputStream.html#record-serialization">record serialization</a>.
157157
*
158+
* @spec serialization/index.html Java Object Serialization Specification
158159
* @author Mike Warres
159160
* @author Roger Riggs
160161
* @see java.io.DataOutput
@@ -670,6 +671,7 @@ protected void writeStreamHeader() throws IOException {
670671
*
671672
* @param desc class descriptor to write to the stream
672673
* @throws IOException If an I/O error has occurred.
674+
* @spec serialization/index.html Java Object Serialization Specification
673675
* @see java.io.ObjectInputStream#readClassDescriptor()
674676
* @see #useProtocolVersion(int)
675677
* @see java.io.ObjectStreamConstants#PROTOCOL_VERSION_1

0 commit comments

Comments
 (0)
Please sign in to comment.