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

Need to restrict access to FX packages when loaded by AppClassLoader

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • jfx11
    • javafx

      The SecurityManager check that restricts internal packages will only restrict those packages that are part of the platform. Packages loaded by the AppClassLoader are not subject to this restriction. Once the javafx modules are removed from the JDK, applications will load them using the AppClassLoader. This means that the calls to ReflectUtil::checkPackageAccess will no longer block access to such packages when a security manager is present. If this check is still needed, then we need to look for an alternate solution.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: