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

Phil Race prr at openjdk.org
Thu Nov 3 15:28:38 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()

This pull request has now been integrated.

Changeset: 748107a0
Author:    Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/748107a09949594828a600abcccbabb6ca381c2d
Stats:     4 lines in 1 file changed: 0 ins; 0 del; 4 mod

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

Reviewed-by: kcr

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

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


More information about the openjfx-dev mailing list