[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/http ...

Tom Elrod tom.elrod at jboss.com
Fri Jan 12 13:56:22 EST 2007


  User: telrod  
  Date: 07/01/12 13:56:22

  Modified:    src/main/org/jboss/remoting/transport/http 
                        HTTPServerInvoker.java
  Log:
  JBREM-659 - changed all ClassLoader.loadClass() calls to Class.forName() calls so will work with jdk 1.6
  
  Revision  Changes    Path
  1.28      +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.27
  retrieving revision 1.28
  diff -u -b -r1.27 -r1.28
  --- HTTPServerInvoker.java	18 Aug 2006 13:50:06 -0000	1.27
  +++ HTTPServerInvoker.java	12 Jan 2007 18:56:22 -0000	1.28
  @@ -209,7 +209,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