[OpenJDK 2D-Dev] RFR 8144718: Pisces / Marlin Strokers may generate invalid curves with huge coordinates and round joins

Phil Race philip.race at oracle.com
Wed Dec 16 20:53:49 UTC 2015


+1.

-phil.

On 12/15/2015 02:06 PM, Laurent Bourgès wrote:
> Jim & Phil,
>
> Here is an updated webrev:
> http://cr.openjdk.java.net/~lbourges/marlin/Stroker-8144718.3/ 
> <http://cr.openjdk.java.net/%7Elbourges/marlin/Stroker-8144718.3/>
>
> I have totally rewritten the test to:
> - enable Marlin doChecks=true
> - use Marlin logger + custom handler to detect any failure in 
> XxxArrayCache.check()
> - serialize the 'bad' shape into java code: see serialize(shape) and 
> derserialize()
>
> In conclusion, the improved test fails without the fix and no more 
> need any font (embedded shape in the java code).
>
> Cheers,
> Laurent




More information about the 2d-dev mailing list