src/java.base/share/classes/java/io/InputStream.java
changeset 58054 ee230ad8cfef
parent 54251 51195881bd3a
child 58242 94bb65cb37d3
equal deleted inserted replaced
58053:1a296c9064dc 58054:ee230ad8cfef
    54     private static final int MAX_SKIP_BUFFER_SIZE = 2048;
    54     private static final int MAX_SKIP_BUFFER_SIZE = 2048;
    55 
    55 
    56     private static final int DEFAULT_BUFFER_SIZE = 8192;
    56     private static final int DEFAULT_BUFFER_SIZE = 8192;
    57 
    57 
    58     /**
    58     /**
       
    59      * Constructor for subclasses to call.
       
    60      */
       
    61     public InputStream() {}
       
    62 
       
    63     /**
    59      * Returns a new {@code InputStream} that reads no bytes. The returned
    64      * Returns a new {@code InputStream} that reads no bytes. The returned
    60      * stream is initially open.  The stream is closed by calling the
    65      * stream is initially open.  The stream is closed by calling the
    61      * {@code close()} method.  Subsequent calls to {@code close()} have no
    66      * {@code close()} method.  Subsequent calls to {@code close()} have no
    62      * effect.
    67      * effect.
    63      *
    68      *