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/description ServiceDesc.java
Date Thu, 06 Feb 2003 04:16:30 GMT
gdaniels    2003/02/05 20:16:30

  Modified:    java/src/org/apache/axis/description ServiceDesc.java
  Log:
  Don't ever introspect java. or javax. classes, even if they are interfaces.
  
  Revision  Changes    Path
  1.71      +4 -2      xml-axis/java/src/org/apache/axis/description/ServiceDesc.java
  
  Index: ServiceDesc.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/description/ServiceDesc.java,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- ServiceDesc.java	1 Jan 2003 17:45:52 -0000	1.70
  +++ ServiceDesc.java	6 Feb 2003 04:16:29 -0000	1.71
  @@ -858,8 +858,10 @@
               Class [] superClasses = implClass.getInterfaces();
               for (int i = 0; i < superClasses.length; i++) {
                   Class superClass = superClasses[i];
  -                if (stopClasses == null ||
  -                        !stopClasses.contains(superClass.getName())) {
  +                if (!superClass.getName().startsWith("java.") &&
  +                        !superClass.getName().startsWith("javax.") &&
  +                        (stopClasses == null ||
  +                        !stopClasses.contains(superClass.getName()))) {
                       loadServiceDescByIntrospectionRecursive(superClass);
                   }
               }
  
  
  

Mime
View raw message