RFR: 8259635: Update to 610.2 version of WebKit

Arun Joseph ajoseph at openjdk.java.net
Thu Jan 21 14:09:17 UTC 2021

On Thu, 21 Jan 2021 13:25:39 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Update JavaFX WebKit to GTK WebKit 2.30 (610.2)
> I reviewed all of the changes outside `modules/javafx.web/src/main/native/`. Most look related to the change to use the Prism Color object instead of an int. I did have a question about one of those changes:
> modules/javafx.web/src/main/java/com/sun/webkit/plugin/DefaultPlugin.java
> -        g.fillRect(x, y, w, h, 0x11aaffff);
> +        g.fillRect(x, y, w, h, new Color(0.33f, 1.0f, 1.0f, 0.1f));
> These are not equivalent colors. Is this intentional?

It should be `new Color(2 / 3.0f, 1.0f, 1.0f, 1 / 15.0f)`. I'll update the PR.


PR: https://git.openjdk.java.net/jfx/pull/382

More information about the openjfx-dev mailing list