jmx-dev RFR: 8345079: Simplify/cleanup Exception handling in RMIConnectionImpl [v3]
Kevin Walls
kevinw at openjdk.org
Tue Jan 21 14:53:40 UTC 2025
On Mon, 20 Jan 2025 20:21:48 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
>> 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
Thanks Daniel. Yes, we could do quite a big style update here in future!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23072#issuecomment-2604945705
More information about the jmx-dev
mailing list