RFR: 8354053: Remove unused JavaIOFilePermissionAccess
Roger Riggs
rriggs at openjdk.org
Mon Apr 14 14:24:44 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 considered dropping the property support, but it seemed harmless to leave it until FilePermission is removed and avoids thrash in an unused implementation and documentation.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24603#issuecomment-2801882511
More information about the security-dev
mailing list