[prev in list] [next in list] [prev in thread] [next in thread]
List: wss4j-dev
Subject: svn commit: r326785 -
From: dims () apache ! org
Date: 2005-10-20 3:27:26
Message-ID: 20051020032727.99310.qmail () minotaur ! apache ! org
[Download RAW message or body]
Author: dims
Date: Wed Oct 19 20:27:19 2005
New Revision: 326785
URL: http://svn.apache.org/viewcvs?rev=326785&view=rev
Log:
check for null classloader.
Modified:
webservices/wss4j/trunk/src/org/apache/ws/security/util/Loader.java
Modified: webservices/wss4j/trunk/src/org/apache/ws/security/util/Loader.java
URL: http://svn.apache.org/viewcvs/webservices/wss4j/trunk/src/org/apache/ws/security/util/Loader.java?rev=326785&r1=326784&r2=326785&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/util/Loader.java (original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/util/Loader.java Wed Oct 19 \
20:27:19 2005 @@ -102,9 +102,11 @@
try {
ClassLoader tcl = getTCL();
- Class c = tcl.loadClass(clazz);
- if (c != null)
- return c;
+ if(tcl != null) {
+ Class c = tcl.loadClass(clazz);
+ if (c != null)
+ return c;
+ }
} catch (Throwable e) {
}
// we reached here because tcl was null or because of a
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic