[OpenJDK 2D-Dev] RFR: 7018932 : Drawing very large coordinates with a dashed Stroke can cause Java to hang [v7]

Laurent Bourgès lbourges at openjdk.java.net
Tue Jan 12 18:50:58 UTC 2021


On Tue, 12 Jan 2021 18:43:36 GMT, Phil Race <prr at openjdk.org> wrote:

>> Laurent Bourgès has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - fixed copyright year
>>  - removed invalid jtreg test
>
> src/java.desktop/share/classes/sun/java2d/marlin/TransformingPathConsumer2D.java line 902:
> 
>> 900: 
>> 901:         // clip rectangle (ymin, ymax, xmin, xmax) including padding:
>> 902:         final double[] clipRectPad = new double[4];
> 
> are all the changes to double needed for this ? Or just preparation for removing the float pipeline ?

These change are just enough to make MarlinRenderingEngine (float) pass the new test.
Later we will propose to remove the float pipeline.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2013


More information about the 2d-dev mailing list