XMLBEANS-612: Adjust classloading for better Android support
Using Classloader.getResource() for .class-files fails on Android where
the special classloader does not return class-files as resources.
As this is only done as pre-check here if loading the class will work,
we can replace it with catching a ClassNotFoundException instead to
only use proper reflection functionality and thus make this
work on Android as well.
git-svn-id: https://svn.apache.org/repos/asf/xmlbeans/trunk@1901904 13f79535-47bb-0310-9956-ffa450edef68
1 file changed