mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8230723: Remove default constructors from java.lang and java.io
Reviewed-by: bpb, rriggs
This commit is contained in:
parent
c84e19f3ca
commit
10f1f10f2e
10 changed files with 54 additions and 4 deletions
|
@ -55,6 +55,11 @@ public abstract class InputStream implements Closeable {
|
|||
|
||||
private static final int DEFAULT_BUFFER_SIZE = 8192;
|
||||
|
||||
/**
|
||||
* Constructor for subclasses to call.
|
||||
*/
|
||||
public InputStream() {}
|
||||
|
||||
/**
|
||||
* Returns a new {@code InputStream} that reads no bytes. The returned
|
||||
* stream is initially open. The stream is closed by calling the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue