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

Modularize java.policy files

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: