ASF Bugzilla – Attachment 24946 Details for
Bug 48700
javax.xml.parsers.DocumentBuilderFactory looks first at the ContextClassLoader then Class.forName, but SchemaFactoryFinder does not
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the problem
sff.patch (text/plain), 1.14 KB, created by
andypiper
on 2010-02-08 05:20:03 UTC
(
hide
)
Description:
Patch to fix the problem
Filename:
MIME Type:
Creator:
andypiper
Created:
2010-02-08 05:20:03 UTC
Size:
1.14 KB
patch
obsolete
>*** tmp/javax/xml/validation/SchemaFactoryFinder.java 2009-02-16 00:09:32.000000000 +0000 >--- xml-commons-external-1.4.01/javax/xml/validation/SchemaFactoryFinder.java 2010-01-19 12:35:17.685540400 +0000 >*************** >*** 301,307 **** > if (debug) debugPrintln("instanciating "+className); > Class clazz; > if( classLoader!=null ) >! clazz = classLoader.loadClass(className); > else > clazz = Class.forName(className); > if(debug) debugPrintln("loaded it from "+which(clazz)); >--- 301,313 ---- > if (debug) debugPrintln("instanciating "+className); > Class clazz; > if( classLoader!=null ) >! try { >! clazz = classLoader.loadClass(className); >! } >! catch (ClassNotFoundException cnfe) { >! // fallback >! clazz = Class.forName(className); >! } > else > clazz = Class.forName(className); > if(debug) debugPrintln("loaded it from "+which(clazz));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48700
: 24946