iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/service/SecurityActions.java
static Thread createThread(final Runnable runnable, final String threadName) {
        return ! WildFlySecurityManager.isChecking() ? new Thread(runnable, threadName) : doPrivileged(new CreateThreadAction(runnable, threadName));
    }
static Thread createThread(final Runnable runnable, final String threadName) {
        return ! WildFlySecurityManager.isChecking() ? new Thread(runnable, threadName) : doPrivileged(new CreateThreadAction(runnable, threadName));
    }
<p>
Creates a thread with the specified {@code Runnable} and name.
</p>

@param runnable   the {@code Runnable} to be set in the new {@code Thread}.
@param threadName the name of the new {@code Thread}.
@return the construct {@code Thread} instance.