code: @SuppressWarnings("unchecked")
    public final E set(E value, ClassLoader loader)
    {
      for (; loader != null; loader = loader.getParent()) {
        if (loader instanceof EnvironmentClassLoader) {
          EnvironmentClassLoader envLoader = (EnvironmentClassLoader) loader;
  
          return (E) envLoader.setAttribute(_varName, value);
        }
      }
  
      return setGlobal(value);
    }
docs: Sets the variable for the context classloader.
  
  @param value
  the new value
  
  @return the old value