[OpenJDK 2D-Dev] [OpenJDK Rasterizer] Path2D optimizations
bourges.laurent at gmail.com
Mon Mar 30 21:31:51 UTC 2015
Test program, line 490 - MOVETO has 2 coordinates associated with it.
Well spotted: I did it too quickly, sorry.
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...
Thanks, I will tomorrow prepare a new webrev.
- 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...
Exactly: that test fails on JDK 1.8.0_60.
Should we submit another bug to JDK8 ?
Or at least, ask to backport this bug once fixed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev