Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8348265

RMIConnectionImpl: Remove Subject.callAs on MarshalledObject

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • core-svc

      After Security Manager removal, there is never a reason for doing a MarshalledObject.cast, as another Subject.
      Previously, a Policy could have restricted permissable classes.

      RMIConnectionImpl.unwrap uses Subject.callAs(), when a Subject is set, to perform the MarshalledObject.get. This should be removed.

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: