jdk-20-ga : jdk-21+35
Module java.base

Package java.io

package java.io
Comparing jdk-20-ga and jdk-21+35
Provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown. A pathname string passed as a String argument to a constructor or method in any class or interface in this package will be interpreted as described in the class specification of File .

Object Serialization

Warning: Deserialization of untrusted data is inherently dangerous and should be avoided. Untrusted data should be carefully validated according to the "Serialization and Deserialization" section of the Moved out of a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase20&id=secure_coding_guidelines_javase.Moved to a link with destination https://docs.oracle.com/pls/topic/lookup?ctx=javase21&id=secure_coding_guidelines_javase.Secure Coding Guidelines for Java SE.

Since:
1.0
External Specifications

Types

Summary

Differences
Elements Comments Descriptions Total
Added Changed Removed Added Changed Removed Added Changed Removed
java.io 4 4 8
BufferedInputStream 5 1 6
BufferedReader 3 2 2 7
BufferedWriter 3 2 2 7
ByteArrayInputStream 4 2 6
ByteArrayOutputStream 4 3 12 19
CharArrayWriter 9 3 3 15
Closeable 2 2
Console 3 4 9 16
File 21 6 13 40
FileInputStream 10 2 8 20
FileOutputStream 6 2 8 16
FilePermission 1 1
InputStream 5 2 7
InputStreamReader 3 1 2 6
ObjectInputFilter 3 3
ObjectInputStream 21 3 24
ObjectOutputStream 14 1 15
ObjectStreamClass 3 3
OutputStreamWriter 9 3 5 17
PrintStream 9 3 6 18
PrintWriter 9 3 6 18
PushbackInputStream 4 4
RandomAccessFile 12 6 15 33
Reader 4 4
SequenceInputStream 4 2 6
Serial 3 3
Serializable 3 12 3 18
StreamTokenizer 2 1 3
StringWriter 9 3 4 16
Writer 9 3 4 16
Total 3 197 71 106 377