JDK-8219917 : [WebView] Sub-resource integrity check fails on Windows and Linux
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8,openjfx11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-02-28
  • Updated: 2020-01-31
  • Resolved: 2019-03-21
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
8u221Fixed openjfx11.0.4Fixed
Description
Currently subresource integrity check is not working in Linux and Windows due to missing implementation of `PAL::CryptoDigest` on those platforms. However it works in macOS because we rely on CommonCrypto based CryptoDigest implementation from WebCore.

The goal of this enhancement is to implement `PAL::CryptoDigest` using `java.security.MessageDigest`., so that the sub resource integrity can be supported across all the platforms.
Comments
Changeset: fe567d56155a Author: arajkumar Date: 2019-03-21 19:18 +0530 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/fe567d56155a 8219917: [WebView] Sub-resource integrity check fails on Windows and Linux Reviewed-by: shadzic, kcr
21-03-2019

Please review following Github PR, https://github.com/javafxports/openjdk-jfx/pull/392
01-03-2019

Given that this works on Mac and fails on Windows and Linux, I am changing the issue type to Bug.
28-02-2019