Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.0
-
Apache Tomcat 5.5.9 ,
Description
When i use Digester from Java Agent Few pieces of code which uses
getClass().getClassLoader() returns me null. As Digester is loaded by system classlaoder it happens so
Fix : using following code "Thread.currentThread().getContextClassLoader()" shal fix that
Locations to Fix :
ClassName :org.apache.commons.digester.SetNextRule
Method : end()
Line Number: 204
ClassName :org.apache.commons.digester.xmlrules.FromXmlRuleSet
Method : addRuleInstances()
Line Number: 164