RFR: 8345079: Simplify/cleanup Exception handling in RMIConnectionImpl [v3]

Kevin Walls kevinw at openjdk.org
Mon Jan 20 20:21:48 UTC 2025


> This is a post-SecurityManager-removal cleanup, following-on from:
> 
> 8344394: Remove SecurityManager and related calls from java.management.rmi 
> 
> 
> Remove mention of "privilege" in Exception handling in RMIConnectionImpl.
> Remove wrapping of Exceptions in PrivilegedActionException.
> 
> The methods that invoke an operation handle expected Exceptions, but also need to handle SecurityException and RuntimeException, to avoid their default case of wrapping an Exception in an IOException to signal a problem.

Kevin Walls has updated the pull request incrementally with one additional commit since the last revision:

  oops

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23072/files
  - new: https://git.openjdk.org/jdk/pull/23072/files/0f06f752..a07f6bfe

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

  Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23072.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23072/head:pull/23072

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


More information about the serviceability-dev mailing list