private synchronized void removeLoader(ClassLoader loader){
  int i;
  for (i=_loaders.size() - 1; i >= 0; i--) {
    WeakReference<ClassLoader> ref=_loaders.get(i);
    ClassLoader refLoader=ref.get();
    if (refLoader == null)     _loaders.remove(i);
 else     if (refLoader == loader)     _loaders.remove(i);
  }
}

private synchronized void removeLoader ( ClassLoader loader ) { int i ; for ( i = _loaders . size ( ) - 1 ; i >= 0 ; i -- ) { WeakReference < ClassLoader > ref = _loaders . get ( i ) ; ClassLoader refLoader = ref . get ( ) ; if ( refLoader == null ) _loaders . remove ( i ) ; else if ( refLoader == loader ) _loaders . remove ( i ) ; } }
removes the specified loader .
