JDK-8092808 : Wrong filenames in javafx-java.policy file for embedded
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-05-09
  • Updated: 2015-06-12
  • Resolved: 2014-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Related Reports
Relates :  
Description
This is a follow-on to RT-36848. The contents of the javafx-java.policy file, which will be appended to the standard java.policy file, are correct for desktop, but need to be adjusted for embedded (linux-arm) builds in the same way as was done for the javafx-ext-meta-index file.

For cross builds, the contents should be:

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

which are the jars that are picked up by the embedded JDK build.
Comments
Looks good to me.
17-05-2014