Simplify/cleanup Exception handling in RMIConnectionImpl

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: None
    • Component/s: core-svc

      src/java.management.rmi/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java
      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).

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

              Created:
              Updated:
              Resolved: