RFR: 8284184: Crash in GraphicsContextJava::drawLinesForText on https://us.yahoo.com/ [v2]
Kevin Rushforth
kcr at openjdk.java.net
Thu Apr 7 12:15:43 UTC 2022
On Thu, 7 Apr 2022 09:55:36 GMT, Jay Bhaskar <jbhaskar at openjdk.org> wrote:
>> Issue: Floating point overflow , when making end point for line drawing as FloatPoint endPoint = startPoint + FloatPoint(widths.last(), 0);
>> Solution: traverse widths to calculate end point and increment start point.
>
> Jay Bhaskar has updated the pull request incrementally with one additional commit since the last revision:
>
> check length of DashArray
Looks good. I confirm that it fixes the crash. Can you file the follow-on bug to investigate our use of the `widths` list?
-------------
Marked as reviewed by kcr (Lead).
PR: https://git.openjdk.java.net/jfx/pull/765
More information about the openjfx-dev
mailing list