[OpenJDK 2D-Dev]  Request for review: 8004821 Graphics2D.drawPolygon() fails with IllegalPathStateException
james.graham at oracle.com
Sat Jan 5 19:21:47 UTC 2013
Does this work OK with 1 point in the array as well?
Also, it couldn't hurt to call fillPolygon and drawPolyline as well in
the test case just to round out our testing...
On 1/4/2013 1:51 PM, Sergey Bylokhov wrote:
> Hello, 2d team.
> Does anybody have a chance to review this small fix?
> 11.12.2012 17:28, Sergey Bylokhov wrote:
>> Please review the fix for jdk 8.
>> PixelToShapeConverter.makePoly() should not try to close path in case
>> of the empty arrays of points.
>> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004821
>> Webrev can be found at:
More information about the 2d-dev