[OpenJDK 2D-Dev] RFR: 7018932 : Drawing very large coordinates with a dashed Stroke can cause Java to hang [v3]
Laurent Bourgès
lbourges at openjdk.java.net
Sun Jan 10 21:00:18 UTC 2021
On Sun, 10 Jan 2021 11:17:49 GMT, Laurent Bourgès <lbourges at openjdk.org> wrote:
>> Interesting, but BufferedImage rendering may use another java2d pipeline... so I will check if LoopPipe.getStrokedSpans() is used by your test code.
>
> Moreover the bug was detected on both gdi & xrender native pipelines...
Confirmed:
* useAA=true:
sun.java2d.marlin.MarlinRenderingEngine.getAATileGenerator(java.awt.geom.Line2D$Double, AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]], Region[[0, 0 => 400, 400]], java.awt.BasicStroke at 110e1781, wide, normalized)
* useAA=false:
sun.java2d.marlin.MarlinRenderingEngine.strokeTo(java.awt.geom.Line2D$Double, AffineTransform[[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]], Region[[0, 0 => 400, 400]], java.awt.BasicStroke at 110e1781, wide, normalized, non-AA, sun.java2d.pipe.ShapeSpanIterator)
-------------
PR: https://git.openjdk.java.net/jdk/pull/2013
More information about the 2d-dev
mailing list