Javadoc
Find jars and directories that are on the container's classpath
and apply an optional filter. The filter is a pattern applied to the
full jar or directory names. If there is no pattern, then no jar
or dir is considered to match.
Those jars that do match will be later examined for META-INF
information and annotations.
To find them, examine the classloaders in the hierarchy above the
webapp classloader that are URLClassLoaders. For jdk-9 we also
look at the java.class.path, and the jdk.module.path.