DelegateClassLoader () { DelegateClassLoader delegate = myDelegate; if (delegate == null) { synchronized (myUrls) { delegate = myDelegate; if (delegate == null) { myDelegate = delegate = new DelegateClassLoader(Iterators.collect(myUrls, new ArrayList<URL>()).toArray(EMPTY_URL_ARRAY), myParent); } } } return delegate; }