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

adding stylesheet to scene in plugin requires java.lang.RuntimePermission "getClassLoader"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      b42

      Description

      see DisplayShelf sample, it doesn't load stylesheed reporting next error:

      Cannot add stylesheet. access denied ("java.lang.RuntimePermission" "getClassLoader")



      Are users intentionally not able to use stylesheets in unsigned apps?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dgrieve David Grieve
                Reporter:
                sgrinev Sergey Grinev (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: