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

Tom Elrod tom.elrod at jboss.com
Thu Jan 11 15:34:49 EST 2007


  User: telrod  
  Date: 07/01/11 15:34:49

  Modified:    src/main/org/jboss/remoting/transport/http  Tag:
                        remoting_2_x HTTPServerInvoker.java
  Log:
  JBREM-659 - updated classloading to use Class.forName() instead of ClassLoader.loadClass() because the later is broken in jdk 1.6.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.27.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.27
  retrieving revision 1.27.4.1
  diff -u -b -r1.27 -r1.27.4.1
  --- HTTPServerInvoker.java	18 Aug 2006 13:50:06 -0000	1.27
  +++ HTTPServerInvoker.java	11 Jan 2007 20:34:49 -0000	1.27.4.1
  @@ -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