RFR: 8284184: Crash in GraphicsContextJava::drawLinesForText on https://us.yahoo.com/ [v2]

Jay Bhaskar jbhaskar at openjdk.java.net
Thu Apr 7 09:55:36 UTC 2022


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/765/files
  - new: https://git.openjdk.java.net/jfx/pull/765/files/feda90ec..5c503f5e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=765&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=765&range=00-01

  Stats: 10 lines in 1 file changed: 3 ins; 3 del; 4 mod
  Patch: https://git.openjdk.java.net/jfx/pull/765.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/765/head:pull/765

PR: https://git.openjdk.java.net/jfx/pull/765


More information about the openjfx-dev mailing list