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

Can't use css stylesheet in unsigned Applet or JNLP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • fx2.0
    • fx2.0
    • javafx
    • All

      If you have a application that tries to set a stylesheet url on the scene that you want to run as a unsigned applet or JNLP application. You will get a error message:
                       "Cannot add stylesheet. access denied (java.lang.RuntimePermission getClassLoader)"
      and the css will not be loaded.

      This prevents all applications with any custom css stylesheet from working unsigned. There is no workaround other than signing the application which is undesirable.

            dgrieve David Grieve
            jasper Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: