public static ClassLoader getSystemClassLoader ( ) { if ( System . getSecurityManager ( ) == null ) { return ClassLoader . getSystemClassLoader ( ) ; } else { return AccessController . doPrivileged ( ( PrivilegedAction < ClassLoader > ) ClassLoader :: getSystemClassLoader ) ; } }
Returns system class loader .