[OpenJDK 2D-Dev] [8] Request for review: 8004821 Graphics2D.drawPolygon() fails with IllegalPathStateException

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Dec 11 13:28:21 UTC 2012

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: http://cr.openjdk.java.net/~serb/8004821/webrev.00

Best regards, Sergey.

More information about the 2d-dev mailing list