RFR: 8348265: RMIConnectionImpl: Remove Subject.callAs on MarshalledObject

Kevin Walls kevinw at openjdk.org
Thu Jan 23 14:30:47 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.

Thanks!

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

PR Comment: https://git.openjdk.org/jdk/pull/23230#issuecomment-2609952658


More information about the serviceability-dev mailing list