Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8348967 Deprecate security permission classes for removal
  3. JDK-8353680

Release Note: Various Permission Classes Deprecated for Removal

XMLWordPrintable

      The following permission classes have been deprecated for removal:

      - `java.security.UnresolvedPermission`
      - `javax.net.ssl.SSLPermission`
      - `javax.security.auth.AuthPermission`
      - `javax.security.auth.PrivateCredentialPermission`
      - `javax.security.auth.kerberos.DelegationPermission`
      - `javax.security.auth.kerberos.ServicePermission`
      - `com.sun.security.jgss.InquireSecContextPermission`
      - `java.lang.RuntimePermission`
      - `java.lang.reflect.ReflectPermission`
      - `java.io.FilePermission`
      - `java.io.SerializablePermission`
      - `java.nio.file.LinkPermission`
      - `java.util.logging.LoggingPermission`
      - `java.util.PropertyPermission`
      - `jdk.jfr.FlightRecorderPermission`
      - `java.net.NetPermission`
      - `java.net.URLPermission`
      - `jdk.net.NetworkPermission`

      In addition, the `getPermission` method defined in `java.net.URLConnection` and its subclass `java.net.HttpURLConnection` has been deprecated for removal.

      These permission classes and associated methods were only useful in conjunction with the Security Manager, which is no longer supported.

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

              Created:
              Updated:
              Resolved: