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

Simplify/cleanup Exception handling in RMIConnectionImpl

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • None
    • core-svc
    • None


      RMIConnectionImpl has been updated after SecurityManager removal, but a few items were left for later follow-up:

      There is Exception handling where the Exception is wrapped in a PrivilegedActionException. This should be removed, and the PrivilegedActionException import can be removed.

      The method "doPrivilegedOperation" no longer uses a PrivilegedAction. The method should be simply doOperation. The method has many call sites (all the MBean operations).

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

              Created:
              Updated: