RFR: 8344461: Additional cleanup in NewThreadAction

Roger Riggs rriggs at openjdk.org
Wed Dec 4 19:50:38 UTC 2024


On Wed, 4 Dec 2024 19:06:20 GMT, Stuart Marks <smarks at openjdk.org> wrote:

> Convert the RMI NewThreadAction class into a couple static methods on RuntimeUtil. Also remove a couple unnecessary qualified exports from java.base to java.rmi.

src/java.rmi/share/classes/sun/rmi/runtime/RuntimeUtil.java line 60:

> 58:      * Cached reference to the system (root) thread group.
> 59:      */
> 60:     static final ThreadGroup systemThreadGroup;

Can this be private?  Also userThreadGroup below?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22557#discussion_r1870190184


More information about the core-libs-dev mailing list