mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8275163: Deflater::deflate methods omit javadoc for ReadOnlyBufferException
Reviewed-by: bpb, iris, naoto
This commit is contained in:
parent
ad9e234f5e
commit
831802ddb1
1 changed files with 2 additions and 0 deletions
|
@ -495,6 +495,7 @@ public class Deflater {
|
|||
* @param output the buffer for the compressed data
|
||||
* @return the actual number of bytes of compressed data written to the
|
||||
* output buffer
|
||||
* @throws ReadOnlyBufferException if the given output buffer is read-only
|
||||
* @since 11
|
||||
*/
|
||||
public int deflate(ByteBuffer output) {
|
||||
|
@ -674,6 +675,7 @@ public class Deflater {
|
|||
* the output buffer
|
||||
*
|
||||
* @throws IllegalArgumentException if the flush mode is invalid
|
||||
* @throws ReadOnlyBufferException if the given output buffer is read-only
|
||||
* @since 11
|
||||
*/
|
||||
public int deflate(ByteBuffer output, int flush) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue