You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Andrew Zhang <zh...@gmail.com> on 2007/09/27 04:42:45 UTC
[classlib][util] ArrayList#ArrayList() constructs an empty list with an initial capacity of ten
Hi,
As spec says ArrayList#ArrayList() constructs an empty list with an initial
capacity of ten, but our code initializes the list with capacity 0.
A jira issue is filed: https://issues.apache.org/jira/browse/HARMONY-4858
Thanks!
--
Best regards,
Andrew Zhang
http://zhanghuangzhu.blogspot.com/
Re: [classlib][util] ArrayList#ArrayList() constructs an empty list with an initial capacity of ten
Posted by Andrew Zhang <zh...@gmail.com>.
On 9/27/07, Tim Ellison <t....@gmail.com> wrote:
>
> Andrew Zhang wrote:
> > As spec says ArrayList#ArrayList() constructs an empty list with an
> initial
> > capacity of ten, but our code initializes the list with capacity 0.
> >
> > A jira issue is filed:
> https://issues.apache.org/jira/browse/HARMONY-4858
>
> Are you asking that this is considered for fixing in M3? Does it break
> anything?
Hi Tim,
No, it is just a minor bug. No need to fix in M3. Thanks!
Regards,
> Tim
>
--
Best regards,
Andrew Zhang
http://zhanghuangzhu.blogspot.com/
Re: [classlib][util] ArrayList#ArrayList() constructs an empty list
with an initial capacity of ten
Posted by Tim Ellison <t....@gmail.com>.
Andrew Zhang wrote:
> As spec says ArrayList#ArrayList() constructs an empty list with an initial
> capacity of ten, but our code initializes the list with capacity 0.
>
> A jira issue is filed: https://issues.apache.org/jira/browse/HARMONY-4858
Are you asking that this is considered for fixing in M3? Does it break
anything?
Regards,
Tim
Re: [classlib][util] ArrayList#ArrayList() constructs an empty list with an initial capacity of ten
Posted by "Jimmy,Jing Lv" <fi...@gmail.com>.
2007/9/27, Andrew Zhang <zh...@gmail.com>:
> Hi,
>
> As spec says ArrayList#ArrayList() constructs an empty list with an initial
> capacity of ten, but our code initializes the list with capacity 0.
>
+1
> A jira issue is filed: https://issues.apache.org/jira/browse/HARMONY-4858
>
> Thanks!
>
> --
> Best regards,
> Andrew Zhang
>
> http://zhanghuangzhu.blogspot.com/
>
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM