ggershinsky commented on code in PR #9453:
URL: https://github.com/apache/iceberg/pull/9453#discussion_r1447008224


##########
core/src/main/java/org/apache/iceberg/encryption/AesGcmInputStream.java:
##########
@@ -112,7 +112,7 @@ public int read(byte[] b, int off, int len) throws 
IOException {
     }
 
     if (available() <= 0 && len > 0) {
-      throw new EOFException();
+      return -1;

Review Comment:
   
https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html#read-byte:A-int-int-



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to