On Mon, 25 Nov 2024 10:16:34 GMT, Aleksei Efimov <aefi...@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