On Tue, 5 Jul 2022 19:23:13 GMT, Jose Pereda <[email protected]> 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.

tests/system/src/test/java/test/javafx/scene/web/ColorChooserTest.java line 41:

> 39: import javafx.stage.Stage;
> 40: import javafx.stage.Window;
> 41: import org.junit.AfterClass;

Since this is a new file, you could also use the JUnit5 API.

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

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

Reply via email to