-
Enhancement
-
Resolution: Fixed
-
P3
-
9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8129079 | 8u20 | Kevin Rushforth | P3 | Closed | Fixed |
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;
};
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;
};
- backported by
-
JDK-8129079 Add lib/ext/jfxrt.jar to java.policy file
- Closed
- relates to
-
JDK-8088252 Fix SandBoxAppTest unit test to work with XPatch
- Resolved
-
JDK-8092808 Wrong filenames in javafx-java.policy file for embedded
- Resolved