[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http ...

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


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

  Modified:    src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http 
                        MarshallerLoadingServer.java
  Log:
  JBREM-659 - changed all ClassLoader.loadClass() calls to Class.forName() calls so will work with jdk 1.6
  
  Revision  Changes    Path
  1.10      +1 -1      JBossRemoting/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/MarshallerLoadingServer.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: MarshallerLoadingServer.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/MarshallerLoadingServer.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- MarshallerLoadingServer.java	6 Jul 2006 03:30:37 -0000	1.9
  +++ MarshallerLoadingServer.java	12 Jan 2007 18:56:23 -0000	1.10
  @@ -70,7 +70,7 @@
      {
   //      Class testObjClass = Class.forName("org.jboss.test.remoting.marshall.dynamic.remote.http.TestObject");
         RemotingClassLoader loader = new RemotingClassLoader(MarshallerLoadingServer.class.getClassLoader(), Thread.currentThread().getContextClassLoader());
  -      Class testObjClass = loader.loadClass("org.jboss.test.remoting.marshall.dynamic.remote.socket.TestObject");
  +      Class testObjClass = Class.forName("org.jboss.test.remoting.marshall.dynamic.remote.socket.TestObject", false, loader);
   
         RESPONSE_VALUE = testObjClass.newInstance();
      }
  
  
  



More information about the jboss-cvs-commits mailing list