-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-svc
-
b07
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).
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).
- relates to
-
JDK-8344394 Remove SecurityManager and related calls from java.management.rmi
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/3d4afc49
-
Review(master)
openjdk/jdk/23072