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

Add lib/ext/jfxrt.jar to java.policy file

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • javafx

        The default security policy for jar files in lib/ext is changing in JDK 9 to not grant all permisisons by default. See https://bugs.openjdk.java.net/browse/JDK-8040059 for more details.

        In order for the JavaFX runtime to continue to run when a security manager is present, we will need to add the following to the java.policy file in the JRE at build time:

        grant codeBase "file:${java.home}/lib/ext/jfxrt.jar" {
                permission java.security.AllPermission;
        };

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

                Created:
                Updated:
                Resolved:
                Imported: