RFR: 8354053: Remove unused JavaIOFilePermissionAccess

Alan Bateman alanb at openjdk.org
Sun Apr 13 17:53:31 UTC 2025


On Fri, 11 Apr 2025 21:26:08 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> The JavaIOFilePermissionAccess interface is removed from SharedSecrets and its implementation (FilePermCompat.java) used by the test is moved to java.io FilePermission where cross package access is not needed. 
> The test FilePermissionCollectionMerge is updated to access the internal implementation in FilePermission. 
> Modernized the initialization from the system property `jdk.io.permissionsUseCanonicalPath`. 
> The remaining support will be removed when FilePermission is removed.

@wangweij Is there any reason to keep the system property jdk.io.permissionsUseCanonicalPath ?

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

PR Comment: https://git.openjdk.org/jdk/pull/24603#issuecomment-2800051496


More information about the security-dev mailing list