RFR: 8344149: Remove usage of Security Manager from java.rmi

Stuart Marks smarks at openjdk.org
Mon Nov 18 17:05:40 UTC 2024


First cut at removal of Security Manager stuff from RMI.

This covers just about every SM-related case in RMI, except for a bit of package checking in MarshalInputStream. This will be handled separately. It's covered by [JDK-8344329](https://bugs.openjdk.org/browse/JDK-8344329).

Further simplifications could be done in RuntimeUtil and NewThreadAction. However, those changes started to become somewhat more intrusive than I'd like for this PR, which is focused on removing security-related stuff.

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

Commit messages:
 - First cut at removal of Security Manager stuff from RMI.

Changes: https://git.openjdk.org/jdk/pull/22129/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22129&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344149
  Stats: 717 lines in 27 files changed: 6 ins; 549 del; 162 mod
  Patch: https://git.openjdk.org/jdk/pull/22129.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22129/head:pull/22129

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


More information about the core-libs-dev mailing list