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

      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`.

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

              Created:
              Updated:
              Resolved: