RFR: 8295327: JavaFX - IllegalArgumentException when printing with margins equal to 0

Kevin Rushforth kcr at openjdk.org
Wed Nov 2 21:21:41 UTC 2022


On Mon, 31 Oct 2022 21:30:51 GMT, Phil Race <prr at openjdk.org> wrote:

> If floating point error caused a small negative value in the conversions needed from ISO to US measurements, then this will cause the IAE reported. 
> The code doing the rounding should not have used Math.abs()

Looks good.

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

Marked as reviewed by kcr (Lead).

PR: https://git.openjdk.org/jfx/pull/934


More information about the openjfx-dev mailing list