Improves handling of non-standard ClassLoaders
.
- Add support for
AntClassLoader
(thanks to @jacobg for the PR) - Add a generic
FallbackClassLoaderHandler
that tries to get the classpath from aClassLoader
using a wide range of possible methods and field names (such asgetClasspath()
,getClassPath()
,getURLs()
,getUrls()
, etc.). This will eliminate the need for writing a customClassLoaderHandler
in many cases. - Cleaned up the
ClassLoaderHandler
API a bit, so bumped the version code to 2.11.x.