Integrated: 8289587: IllegalArgumentException: Color.rgb's red parameter (-16776961) expects color values 0-255

Jose Pereda jpereda at openjdk.org
Thu Jul 7 22:26:46 UTC 2022


On Tue, 5 Jul 2022 19:23:13 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

> This PR solves an IAE exception that happens when invoking a ColorChooser control within a WebView, by getting the r, g, b values from the Color before calling the colorChooser.
> 
> A system test is included, to verify that there is no exception and the two native functions that are modified produce the expected color components.

This pull request has now been integrated.

Changeset: fc6a6023
Author:    Jose Pereda <jpereda at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/fc6a60234b0feec80b05257cc93407f651805303
Stats:     180 lines in 3 files changed: 174 ins; 0 del; 6 mod

8289587: IllegalArgumentException: Color.rgb's red parameter (-16776961) expects color values 0-255

Reviewed-by: kcr, arapte

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

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


More information about the openjfx-dev mailing list