JDK-8209049 : Cherry pick GTK WebKit 2.20.4 changes
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u191,openjfx11
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-07
  • Updated: 2020-06-04
  • Resolved: 2018-08-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8u191Fixed openjfx11Fixed
Related Reports
Relates :  
Description
2.20.4 GTK WebKit is available for download.
Comments
Changeset: bf4a59920c38 Author: arajkumar Date: 2018-08-16 09:11 +0530 URL: http://hg.openjdk.java.net/openjfx/11-dev/rt/rev/bf4a59920c38 8209049: Cherry pick GTK WebKit 2.20.4 changes Reviewed-by: kcr, mbilla
16-08-2018

Fix request approved for openjfx 11.
16-08-2018

Changes looks fine.. +1
14-08-2018

openjfx11-fix-request: This fix has stabilisation patches from GTK WebKit 2.20.4 branch.
14-08-2018

Changes looks good. I tested on Linux and found no issues. I presume you have tested on all three platforms? +1
13-08-2018

The following additional change has been made to avoid printing media error message on console, diff -r 7341c7bef31d -r 4eda4402380f modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCMediaPlayerImpl.java --- a/modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCMediaPlayerImpl.java Wed Aug 08 10:39:54 2018 -0700 +++ b/modules/javafx.web/src/main/java/com/sun/javafx/webkit/prism/WCMediaPlayerImpl.java Fri Aug 10 15:55:29 2018 +0530 @@ -28,6 +28,7 @@ import java.net.URI; import java.util.List; +import com.sun.javafx.logging.PlatformLogger; import com.sun.javafx.media.PrismMediaFrameHandler; import com.sun.media.jfxmedia.Media; import com.sun.media.jfxmedia.MediaManager; @@ -125,7 +126,9 @@ p = MediaManager.getPlayer(locator); } catch (Exception ex) { log.warning("CreateThread ERROR: {0}", ex.toString()); - ex.printStackTrace(System.out); + if (log.isLoggable(PlatformLogger.Level.FINE)) { + ex.printStackTrace(System.out); + } onError(this, 0, ex.getMessage()); return; }
13-08-2018

2.20.5 is also released[1], the only difference(2.20.4-20.20.5) is rendering artifacts fix for WebKit2, which is not relevant for JavaFX. [1] https://webkitgtk.org/2018/08/13/webkitgtk2.20.5-released.html
13-08-2018