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

Kevin Rushforth kcr at openjdk.org
Thu Jul 7 21:54:56 UTC 2022


On Thu, 7 Jul 2022 09:43:56 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.
>
> Jose Pereda has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
> 
>  - Merge branch 'master' into 8289587-colorrgb
>  - Rework test
>  - Get rgb values from color before calling colorChooser, including test

Marked as reviewed by kcr (Lead).

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

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


More information about the openjfx-dev mailing list