On Tue, 18 May 2021 19:06:56 GMT, Lance Andersen wrote:
> I have run the JCK tests in addition to to the JTREG Tess to validate there
> are no additional failures due to these changes
Thanks a lot!
> src/java.sql.rowset/share/classes/javax/sql/rowset/serial/SerialBlob.java
> line 308:
>
>>
On Tue, 18 May 2021 18:44:32 GMT, Lance Andersen wrote:
>> Mitsuru Kariya has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Fix for length + offset > Integer.MAX_VALUE case
>
>
On Mon, 17 May 2021 14:39:05 GMT, Mitsuru Kariya
wrote:
>> Fix `SerialBlob.setBytes(long pos, byte[] bytes, int offset, int length)` in
>> the following cases:
>>
>> 1. `pos - 1 + bytes.length - offset > this.length() && pos - 1 + length <=
>> this.length()`
>>The original implementation
On Mon, 17 May 2021 14:39:05 GMT, Mitsuru Kariya
wrote:
>> Fix `SerialBlob.setBytes(long pos, byte[] bytes, int offset, int length)` in
>> the following cases:
>>
>> 1. `pos - 1 + bytes.length - offset > this.length() && pos - 1 + length <=
>> this.length()`
>>The original implementation
> Fix `SerialBlob.setBytes(long pos, byte[] bytes, int offset, int length)` in
> the following cases:
>
> 1. `pos - 1 + bytes.length - offset > this.length() && pos - 1 + length <=
> this.length()`
>The original implementation throws `ArrayIndexOutOfBoundsException` but
> this case should