@ NullSafe public static ClassLoader getContextClassLoader ( Thread thread ) { return ( thread != null ? thread . getContextClassLoader ( ) : ThreadUtils . class . getClassLoader ( ) ) ; }
A null - safe method for getting the Thread s context ClassLoader .