commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35147] - [digester] Class.getClassLoader() is not reliable
Date Wed, 01 Jun 2005 14:51:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35147>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35147





------- Additional Comments From w-zwicky@cecer.army.mil  2005-06-01 16:51 -------
True, forName(String,false,classLoader) would be more accurate.  But why are you
loading classes if not to use them?  Many of the loadClass calls are followed
immediately by newInstance; I didn't trace the rest.  But I used forName(String)
everywhere without problem.

Resources aren't a problem though; every occurance in Digester of a getResource*
method is of the form class.getClassLoader().getResource().  They can all be
simplified to class.getResource().


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message