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

Aleksei Efimov aefimov at openjdk.org
Mon Nov 25 10:19:23 UTC 2024


On Fri, 22 Nov 2024 07:06:06 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Stuart Marks has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update with changes from code review.
>
> 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).

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

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


More information about the core-libs-dev mailing list