RFR: 8240969: WebView does not allow to load style sheet in modularized applications

Tobias Diez github.com+5037600+tobiasdiez at openjdk.java.net
Fri Mar 13 12:24:04 UTC 2020


Currently, loading a style sheet file using `WebView.getEngine().setUserStyleSheetLocation(url)` fails if the url
start's with `jrt`, i.e. if the file is packaged in an application image using jlink. This is fixed with this PR.

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

Commit messages:
 - WebView: Allow to load style sheet from jlink images

Changes: https://git.openjdk.java.net/jfx/pull/22/files
 Webrev: https://webrevs.openjdk.java.net/jfx/22/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8240969
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jfx/pull/22.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/22/head:pull/22

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


More information about the openjfx-dev mailing list