Ahmar Suhail created HADOOP-19556:
-------------------------------------

             Summary: 
ITestS3AContractOpen.testInputStreamReadNegativePosition() failing with AAL
                 Key: HADOOP-19556
                 URL: https://issues.apache.org/jira/browse/HADOOP-19556
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 3.4.2
            Reporter: Ahmar Suhail
             Fix For: 3.4.2


New test added in [https://github.com/apache/hadoop/pull/7367,]

expects an IndexOutOfBoundsException to be thrown, when offset is negative.

 

AAL throws IllegalArgumentException. For len, the PR says it's ok to throw 
either IllegalArgumentException or IndexOutOfBoundsException, so should the 
same thing happen of offset?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to