harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Liang" <richard.lian...@gmail.com>
Subject Re: [classlib][swing] Non-bug difference HARMONY-1745?
Date Wed, 18 Oct 2006 05:45:20 GMT
On 10/13/06, Ivanov, Alexey A <alexey.a.ivanov@intel.com> wrote:
> Hello,
>
> Can HARMONY-1745 be treated as non-bug difference?
>
> In short, in Harmony implementation method
> j.s.t.CompositeView.getView(int n) throws ArrayIndexOutOfBoundsException
> unless the parameter n is in the range [0, getViewCount() - 1]. Yet the
> RI throws the same exception in some cases, and it doesn't throw any
> exception and silently returns null in other cases where n is outside
> the range mentioned above. It seems the RI always accepts getViewCount()
> as valid parameter value.
>
> Shall we bother to fix it or can we leave the code as is?

IMHO, it's a bug of RI. We could leave the code as it and change the
components of Harmony-1745 to "Non-bug differences from RI".

Best regards,
Richard.

>
> Thank you in advance for your comments,
> Alexey.
>
>
> --
> Alexey A. Ivanov
> Intel Middleware Product Division
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Richard Liang
China Development Lab, IBM

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message