@Pure
	public static Iterator<URL> getClasspath() {
		Iterator<URL> iterator = getStartClasspath();

		final ClassLoader loader = ClassLoaderFinder.findClassLoader();
		try {
			final DynamicURLClassLoader dLoader = (DynamicURLClassLoader) loader;
			iterator = new FilteringIterator(Arrays.asList(dLoader.getURLs()).iterator());
		} catch (ClassCastException exception1) {
			if (ClasspathUtil.class.getClassLoader() != loader) {
				try {
					try (URLClassLoader dLoader = (URLClassLoader) loader) {
						iterator = new IteratorIterator(
								new FilteringIterator(Arrays.asList(dLoader.getURLs()).iterator()),
								iterator);
					}
				} catch (ClassCastException | IOException exception2) {
					//
				}
			}
		}

		return iterator;
	}
@ Pure public static Iterator < URL > getClasspath ( ) { Iterator < URL > iterator = getStartClasspath ( ) ; final ClassLoader loader = ClassLoaderFinder . findClassLoader ( ) ; try { final DynamicURLClassLoader dLoader = ( DynamicURLClassLoader ) loader ; iterator = new FilteringIterator ( Arrays . asList ( dLoader . getURLs ( ) ) . iterator ( ) ) ; } catch ( ClassCastException exception1 ) { if ( ClasspathUtil . class . getClassLoader ( ) != loader ) { try { try ( URLClassLoader dLoader = ( URLClassLoader ) loader ) { iterator = new IteratorIterator ( new FilteringIterator ( Arrays . asList ( dLoader . getURLs ( ) ) . iterator ( ) ) , iterator ) ; } } catch ( ClassCastException | IOException exception2 ) { } } } return iterator ; }
Replies the current classpath.

@return the current classpath, never <code>null</code>.
@since 6.0