mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8282648: Weaken the InflaterInputStream specification in order to allow faster Zip implementations
Reviewed-by: lancea, alanb, jpai, mr, darcy
This commit is contained in:
parent
e31c537f05
commit
2c61efe3de
7 changed files with 82 additions and 19 deletions
|
@ -840,6 +840,12 @@ public abstract class URLConnection {
|
|||
* returned input stream if the read timeout expires before data
|
||||
* is available for read.
|
||||
*
|
||||
* @apiNote The {@code InputStream} returned by this method can wrap an
|
||||
* {@link java.util.zip.InflaterInputStream InflaterInputStream}, whose
|
||||
* {@link java.util.zip.InflaterInputStream#read(byte[], int, int)
|
||||
* read(byte[], int, int)} method can modify any element of the output
|
||||
* buffer.
|
||||
*
|
||||
* @return an input stream that reads from this open connection.
|
||||
* @throws IOException if an I/O error occurs while
|
||||
* creating the input stream.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue