RFR: 8353642: Deprecate networking permission classes for removal [v2]
Daniel Jeliński
djelinski at openjdk.org
Fri Apr 11 11:19:27 UTC 2025
On Fri, 11 Apr 2025 10:01:26 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 incrementally with one additional commit since the last revision:
>
> Missing white spaces
src/java.base/share/classes/java/net/SocketPermission.java line 1311:
> 1309:
> 1310: @SuppressWarnings("removal")
> 1311: @Deprecated(since = "25", forRemoval = true)
this class is internal, no need to deprecate
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24592#discussion_r2039335050
More information about the nio-dev
mailing list