Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8240969

WebView does not allow to load style sheet in modularized applications

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: openjfx15
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      A DESCRIPTION OF THE PROBLEM :
      If you invoke `setUserStyleSheetLocation` with a stylesheet in the same Java module you get a IllegalArgumentException "Invalid stylesheet URL" because the URL then starts with `jrt:`.


      CUSTOMER SUBMITTED WORKAROUND :
      Fix provided at https://github.com/openjdk/jfx/pull/22

      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: