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

Access Exception using a custom control

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      Mac OS X 10.9.1

      Description

      b12 seems to have broken my custom control that I imported with a JAR file. Since my control creates its own CSS metadata, it accesses converters in com.sun.javafx.css.convrrters. Scenebuilder barfs on this with an access denied exception:

      Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.com.sun.javafx.css.converters")
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)
      at java.security.AccessController.checkPermission(AccessController.java:884)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1564)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:305)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at com.stanfordcomputing.datumo.gui.control.symbol.SVGView$StyleableProperties.<clinit>(SVGView.java:161)

        Attachments

          Activity

            People

            Assignee:
            yjoan Yves Joan (Inactive)
            Reporter:
            cstanford Curtis Stanford
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: