axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/handlers JWSProcessor.java
Date Fri, 07 Sep 2001 17:12:40 GMT
gdaniels    01/09/07 10:12:40

  Modified:    java/src/org/apache/axis/handlers JWSProcessor.java
  Log:
  Check for null return from getURLs().
  
  Revision  Changes    Path
  1.20      +1 -1      xml-axis/java/src/org/apache/axis/handlers/JWSProcessor.java
  
  Index: JWSProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/handlers/JWSProcessor.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- JWSProcessor.java	2001/09/05 17:22:59	1.19
  +++ JWSProcessor.java	2001/09/07 17:12:40	1.20
  @@ -259,7 +259,7 @@
               {
                   URL[] urls = ((URLClassLoader) cl).getURLs();
   
  -                for(int i=0; i < urls.length; i++)
  +                for(int i=0; (urls != null) && i < urls.length; i++)
                   {
                       classpath.append(urls[i].getPath());
                       classpath.append(File.pathSeparatorChar);
  
  
  

Mime
View raw message