Skip to content
Permalink
Browse files
8275163: Deflater::deflate methods omit javadoc for ReadOnlyBufferExc…
…eption

Reviewed-by: bpb, iris, naoto
  • Loading branch information
Lance Andersen committed Oct 15, 2021
1 parent ad9e234 commit 831802ddb103f8f9747a9fb139af8365924da801
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/java.base/share/classes/java/util/zip/Deflater.java
@@ -495,6 +495,7 @@ public int deflate(byte[] output) {
* @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 int deflate(byte[] output, int off, int len, int flush) {
* 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) {

1 comment on commit 831802d

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 831802d Oct 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.