<div dir="auto">Ok, will do that. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 27 Jul 2022, 11:42 David Holmes, <<a href="mailto:david.holmes@oracle.com">david.holmes@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Please take this core core-libs-dev as this is not a build issue.<br>
<br>
Thanks,<br>
David<br>
<br>
On 27/07/2022 1:50 am, Ananya Nayak wrote:<br>
> After analysing the method declaration carefully I realized some bugs in <br>
> the code:<br>
> <br>
> 1. the if condition on seeing min length as less than 0 returns out<br>
> of memory error with a message that "required length is too large"<br>
> which is contradictory to what we are checking in the condition.<br>
> 2. We should actually return the out of memory error when it exceeds<br>
> the SOFT_ARRAY_MAX_LENGTH<br>
> 3. Moreover we are returning minLength in the third condition when we<br>
> actually shouldn't because it exceeds the limit <br>
> <br>
> Kindly verify this.<br>
</blockquote></div>