code: @NullSafe
    public static ClassLoader getContextClassLoader(Thread thread) {
      return (thread != null ? thread.getContextClassLoader() : ThreadUtils.class.getClassLoader());
    }
docs: A null-safe method for getting the Thread's context ClassLoader.
  
  @param thread the Thread from which the context ClassLoader is returned.
  @return the context ClassLoader of the specified Thread or the ThreadUtils class ClassLoader if the Thread is null.
  @see java.lang.Thread#getContextClassLoader()
  @see java.lang.ClassLoader