RFR: 8354053: Remove unused JavaIOFilePermissionAccess
Weijun Wang
weijun at openjdk.org
Sun Apr 13 20:04: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.
I remember the implies method of the file permission class depends on whether this system property is set. Although file permission is no longer used in access control check the class and the method is still there.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24603#issuecomment-2800101409
More information about the security-dev
mailing list