private boolean checkClassLoader ( ClassLoader classloader ) { if ( classloader == null || classloader == getParent ( ) ) return false ; for ( ClassLoader parent = classloader . getParent ( ) ; parent != null ; parent = parent . getParent ( ) ) if ( parent == this ) return false ; return true ; }
not be used as a delegate otherwise we endup in endless recursion .