I was looking at a EA release of the Java 9 JDK (after the Modular java merge) and I saw something in the java.policy which shouldn't be there since the lib/ext directory no longer exists[1].
The java.policy contains two entries of which the second one is no longer valid:
grant codeBase "file:${java.home}/lib/jfxrt.jar" {
permission java.security.AllPermission;
};
grant codeBase "file:${java.home}/lib/ext/jfxrt.jar" {
permission java.security.AllPermission;
};
This is introduced with: https://javafx-jira.kenai.com/browse/RT-36848 and was correct at the time of implementation, but the /ext/ version should be removed now in the JDK 9 branch.
[1] http://openjdk.java.net/jeps/220 Removed: The extension mechanism