/[Apache-SVN]
ViewVC logotype

Revision 1901904


Jump to revision: Previous Next
Author: centic
Date: Tue Jun 14 14:04:26 2022 UTC (22 months, 3 weeks ago)
Changed paths: 1
Log Message:
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.

Changed paths

Path Details
Directoryxmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeLoaderImpl.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26