jmx-dev Integrated: 8348265: RMIConnectionImpl: Remove Subject.callAs on MarshalledObject

Kevin Walls kevinw at openjdk.org
Fri Jan 24 08:42:55 UTC 2025


On Wed, 22 Jan 2025 10:05:11 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> Redundant after Security Manager removal, remove the Subject.callAs() call on a MashalledObject.cast().
> Previously, a Policy could possibly have restricted permissable classes available to the cast().
> 
> Nothing in our tests fails if we remove the callAs.
> 
> Also fixing a comment typo ("reqIncomming") and rewording that comment.

This pull request has now been integrated.

Changeset: a09f06d5
Author:    Kevin Walls <kevinw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a09f06d538075bcdd7cce6da9c3bf9549ce7d543
Stats:     15 lines in 1 file changed: 0 ins; 13 del; 2 mod

8348265: RMIConnectionImpl: Remove Subject.callAs on MarshalledObject

Reviewed-by: rriggs

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

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


More information about the jmx-dev mailing list