code: public static ClassLoader getThreadContextClassLoader() {
          if (GET_CLASS_LOADER_DISABLED) {
              // we can at least get this class's ClassLoader regardless of security context
              // however, if this is null, there's really no option left at this point
              return LoaderUtil.class.getClassLoader();
          }
          return SECURITY_MANAGER == null ? TCCL_GETTER.run() : AccessController.doPrivileged(TCCL_GETTER);
      }
docs: Gets the current Thread ClassLoader. Returns the system ClassLoader if the TCCL is {@code null}. If the system
  ClassLoader is {@code null} as well, then the ClassLoader for this class is returned. If running with a
  {@link SecurityManager} that does not allow access to the Thread ClassLoader or system ClassLoader, then the
  ClassLoader for this class is returned.
  
  @return the current ThreadContextClassLoader.