Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8191053 Provide a mechanism to make system's security manager immutable
  3. JDK-8212047

Release Note: disallow and allow Options for java.security.manager System Property

    XMLWordPrintable

    Details

      Description

      New "disallow" and "allow" token options have been added to the `java.security.manager` system property. In the JDK implementation, if the Java Virtual Machine starts with the system property `java.security.manager` set to "disallow", then the `System.setSecurityManager` method cannot be used to set a security manager and will throw an `UnsupportedOperationException`. The "disallow" option can improve run-time performance for applications that never set a security manager. For further details on the behavior of these options, see the class description of `java.lang.SecurityManager`.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: