RFR: 8353642: Deprecate URL::getPermission method and networking permission classes for removal [v4]

Daniel Fuchs dfuchs at openjdk.org
Thu May 8 16:10:18 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24592/files
  - new: https://git.openjdk.org/jdk/pull/24592/files/d47a31d1..2807f3f6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24592&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24592&range=02-03

  Stats: 268511 lines in 2569 files changed: 76630 ins; 182086 del; 9795 mod
  Patch: https://git.openjdk.org/jdk/pull/24592.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24592/head:pull/24592

PR: https://git.openjdk.org/jdk/pull/24592


More information about the security-dev mailing list