RFR: 8353641: Deprecate core library permission classes for removal
    Daniel Fuchs 
    dfuchs at openjdk.org
       
    Fri Apr  4 12:56:03 UTC 2025
    
    
  
On Fri, 4 Apr 2025 12:37:32 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Now that the Security Manager is permanently disabled, the following permission classes in the core libraries area can be deprecated for removal as they are no longer useful: FilePermission, LinkPermission, LoggingPermission, PropertyPermission, ReflectPermission, RuntimePermission, and SerializablePermission
> 
> @Deprecated(forRemoval = true, since="25")
> Is added to each class and the existing @apiNote is converted to @deprected
Looks reasonable to me. Changes to LoggingPermission look good. Out of curiosity I also  looked at all usages of RuntimePermission in the JDK - I believe you caught them all - including the unexpected use in XSLT.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24444#issuecomment-2778654645
    
    
More information about the net-dev
mailing list