Modular java: remove /lib/ext/jfxrt.jar from java.policy

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P5
    • None
    • Affects Version/s: 9
    • Component/s: javafx
    • None

      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

            Assignee:
            Kevin Rushforth
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: