[OpenJDK Rasterizer] [OpenJDK 2D-Dev] Path2D optimizations

Jim Graham james.graham at oracle.com
Mon Mar 30 19:18:19 UTC 2015


Hi Laurent,

Test program, line 490 - MOVETO has 2 coordinates associated with it.

Test program, line 492 - perhaps we should throw an exception on default 
since it indicates a problem with the iterator

Other than that, it looks good...

On 3/29/15 7:40 AM, Laurent Bourgès wrote:
>> - What am I missing on the difference between the two test files?  Can they be combined into a single test file?
>
> Big one: I figured out a bug in Path2d happening with 0 capacity:
> rectCrossing and ptCrossing fail.

I'm guessing that is why there are the new shortcut returns on the 
intersects/contains methods in Path2D?  I see it now...

			...jim


More information about the graphics-rasterizer-dev mailing list