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

Need to restrict access to FX packages when loaded by AppClassLoader

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: openjfx11
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: