RFR: 8353642: Deprecate URL::getPermission method and networking permission classes for removal [v4]
Daniel Fuchs
dfuchs at openjdk.org
Thu May 8 16:14:54 UTC 2025
On Thu, 8 May 2025 16:10:18 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Please find her a patch that deprecate networking permission classes for removal. The method `URL::getPermission` now serves little purpose and is also deprecated. That method was overridden in subclasses and specified to return some of the deprecated permissions.
>
> Daniel Fuchs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
>
> - Merge branch 'master' into deprecate-net-perms-8353642
> - Revert changes to SocketPermission and CodeSource
> - Review feedback. Deprecate getPermission for removal.
> - Missing white spaces
> - 8353642: Deprecate networking permission classes for removal
After discussion with @seanjmullan we decided to revert the changes to `SocketPermission` and `CodeSource` from this PR. Deprecation of `SocketPermission` will be the object of another RFE ([JDK-8356557](https://bugs.openjdk.org/browse/JDK-8356557)) - once we have decided what to do with `CodeSource::implies`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24592#issuecomment-2863592195
More information about the security-dev
mailing list