Re: [jira] Created: (HARMONY-1447) [classlib][awt] RI Polygon.add(int,int) throws exception after Polygon(new int[2], new int[2], 0)

2006-09-13 Thread Ilya Okomin
On 9/12/06, Denis Kishenko <[EMAIL PROTECTED]> wrote: Hi all This issue looks like RI bug so I filed it as "Non-bug differences from RI". Spec doesn't say about any exceptions. Even if Polygon created with empty point buffer (not null but zero length), method addPoint() should reallocate buffe

Re: [jira] Created: (HARMONY-1447) [classlib][awt] RI Polygon.add(int,int) throws exception after Polygon(new int[2], new int[2], 0)

2006-09-12 Thread Denis Kishenko
Hi all This issue looks like RI bug so I filed it as "Non-bug differences from RI". Spec doesn't say about any exceptions. Even if Polygon created with empty point buffer (not null but zero length), method addPoint() should reallocate buffer to append new point but RI throws ArrayIndexOutOfBound