RFR: 8344149: Remove usage of Security Manager from java.rmi [v2]

Stuart Marks smarks at openjdk.org
Mon Nov 25 19:00:25 UTC 2024


On Mon, 25 Nov 2024 10:16:34 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:

>> src/java.rmi/share/classes/sun/rmi/runtime/NewThreadAction.java line 30:
>> 
>>> 28: import java.security.AccessController;
>>> 29: import java.security.PrivilegedAction;
>>> 30: import sun.security.util.SecurityConstants;
>> 
>> Are there any remaining uses of sun.security.util.* in java.rmi? I suspect this is the last one, in which case you can update java.base's module-info to not export this package to java.rmi.
>
> I will check if it is the last one as part of [JDK-8344299](https://bugs.openjdk.org/browse/JDK-8344299).

Roger has filed [JDK-8344867](https://bugs.openjdk.org/browse/JDK-8344867) to cover cleanup of the unneeded qualified export.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22129#discussion_r1857199326


More information about the core-libs-dev mailing list