security/subsystem/src/main/java/org/jboss/as/security/plugins/SecurityActions.java
static ModuleClassLoaderLocator.CombinedClassLoader createCombinedClassLoader(final List<ClassLoader> classLoaders) {
        if (WildFlySecurityManager.isChecking()) {
            return doPrivileged(new PrivilegedAction<ModuleClassLoaderLocator.CombinedClassLoader>() {
                @Override
                public CombinedClassLoader run() {
                    return new ModuleClassLoaderLocator.CombinedClassLoader(classLoaders);
                }
            });
        } else {
            return new ModuleClassLoaderLocator.CombinedClassLoader(classLoaders);
        }
    }
static ModuleClassLoaderLocator.CombinedClassLoader createCombinedClassLoader(final List<ClassLoader> classLoaders) {
        if (WildFlySecurityManager.isChecking()) {
            return doPrivileged(new PrivilegedAction<ModuleClassLoaderLocator.CombinedClassLoader>() {
                @Override
                public CombinedClassLoader run() {
                    return new ModuleClassLoaderLocator.CombinedClassLoader(classLoaders);
                }
            });
        } else {
            return new ModuleClassLoaderLocator.CombinedClassLoader(classLoaders);
        }
    }
static ModuleClassLoaderLocator . CombinedClassLoader createCombinedClassLoader ( final List < ClassLoader > classLoaders ) { if ( WildFlySecurityManager . isChecking ( ) ) { return doPrivileged ( new PrivilegedAction < ModuleClassLoaderLocator . CombinedClassLoader > ( ) { @ Override public CombinedClassLoader run ( ) { return new ModuleClassLoaderLocator . CombinedClassLoader ( classLoaders ) ; } } ) ; } else { return new ModuleClassLoaderLocator . CombinedClassLoader ( classLoaders ) ; } }
Returns the <code>ModuleClassLoaderLocator.CombinedClassLoader</code> instance with consideration of security manager enabled

@param classLoaders the delegated ClassLoaders
@return the <code>ModuleClassLoaderLocator.CombinedClassLoader</code> instance
Returns the <code > ModuleClassLoaderLocator . CombinedClassLoader< / code > instance with consideration of security manager enabled