[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/http ...
Tom Elrod
tom.elrod at jboss.com
Fri Jan 12 12:19:48 EST 2007
User: telrod
Date: 07/01/12 12:19:48
Modified: src/main/org/jboss/remoting/transport/http Tag:
remoting_1_4 HTTPServerInvoker.java
Log:
JBREM-659 - changed all ClassLoader.loadClass() calls to Class.forName() calls so will work with jdk 1.6
Revision Changes Path
No revision
No revision
1.22.4.1 +1 -1 JBossRemoting/src/main/org/jboss/remoting/transport/http/HTTPServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: HTTPServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/http/HTTPServerInvoker.java,v
retrieving revision 1.22
retrieving revision 1.22.4.1
diff -u -b -r1.22 -r1.22.4.1
--- HTTPServerInvoker.java 30 Dec 2005 05:26:36 -0000 1.22
+++ HTTPServerInvoker.java 12 Jan 2007 17:19:48 -0000 1.22.4.1
@@ -193,7 +193,7 @@
{
try
{
- httpThreadPool = (ThreadPool) getClassLoader().loadClass(httpThreadPoolClass).newInstance();
+ httpThreadPool = (ThreadPool) Class.forName(httpThreadPoolClass, false, getClassLoader()).newInstance();
}
catch(Exception e)
{
More information about the jboss-cvs-commits
mailing list