struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mart...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/config FormBeanConfig.java
Date Fri, 19 Jul 2002 04:42:21 GMT
martinc     2002/07/18 21:42:21

  Modified:    src/share/org/apache/struts/config FormBeanConfig.java
  Log:
  Fix a class loading bug where we were retrieving the current class loader
  but failing to retain it.
  
  Revision  Changes    Path
  1.8       +5 -5      jakarta-struts/src/share/org/apache/struts/config/FormBeanConfig.java
  
  Index: FormBeanConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/config/FormBeanConfig.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FormBeanConfig.java	10 Jul 2002 20:36:23 -0000	1.7
  +++ FormBeanConfig.java	19 Jul 2002 04:42:21 -0000	1.8
  @@ -284,7 +284,7 @@
           ClassLoader classLoader =
               Thread.currentThread().getContextClassLoader();
           if (classLoader == null) {
  -            this.getClass().getClassLoader();
  +            classLoader = this.getClass().getClassLoader();
           }
           try {
               return (classLoader.loadClass(getType()));
  
  
  

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message