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

Modularize java.policy files

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • security-libs

      The java.policy files configuration should ideally be modularized. For example, each module source
      directory should contain a java.policy file (ex: src/$MODULE/${share,OS}/conf/security/java.policy) which
      grants the permissions required by that module. A module on the bootclasspath or a module that did
      not require any additional permissions would not have a java.policy file.

      At build/link time, these java.policy files are concatenated together to produce the complete java.policy file.

      This would also enable an image to have a java.policy file configured with the modules linked
      in the image rather than containing entries for non-existent modules.

            mullan Sean Mullan
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: