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 10825] - NullPointException when Logger.getClassLoader returns null
Date Wed, 17 Jul 2002 16:09:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10825>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10825

NullPointException when Logger.getClassLoader returns null





------- Additional Comments From ajack@openbiz.biz  2002-07-17 16:09 -------
Diff of mine (Attached) with yours (Attached)

445,452d445
< 
<         
< if ( null == classLoader )
< {
< 	classLoader = ClassLoader.getSystemClassLoader();
< 
< }
< 
483d475
< 
503,516c495
< 	{
< 	    ClassLoader local = LogFactory.class.getClassLoader();
< 
<             if ( null != local )
< 		factory = (LogFactory) factories.get
(LogFactory.class.getClassLoader());
< 	}
< 
< 	if ( factory == null )
< 	{
< 
< 	   factory = (LogFactory) factories.get(ClassLoader.getSystemClassLoader
());
< 
< 	}
< 
---
>             factory = (LogFactory) factories.get
(LogFactory.class.getClassLoader());
548,552d526
< 
< 
< 	 if (classLoader == null)
<                 classLoader = ClassLoader.getSystemClassLoader();
<

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


Mime
View raw message