RFR: 8348967: Deprecate security permission classes for removal [v3]

David M. Lloyd duke at openjdk.org
Tue Apr 8 15:13:20 UTC 2025


On Tue, 8 Apr 2025 14:23:06 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Please review this change to terminally deprecate the following security related permission classes: `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`. These classes were only useful in conjunction with the Security Manager, which is no longer supported.
>> 
>> The current API note in these classes was reused as the deprecation text. 
>> 
>> Release Note: https://bugs.openjdk.org/browse/JDK-8353680
>
> Sean Mullan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix build error; add removal annotation.

Marked as reviewed by dmlloyd at github.com (no known OpenJDK username).

-------------

PR Review: https://git.openjdk.org/jdk/pull/24445#pullrequestreview-2750361672


More information about the core-libs-dev mailing list