axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject svn commit: r544262 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentClassLoader.java
Date Mon, 04 Jun 2007 20:56:01 GMT
Author: gdaniels
Date: Mon Jun  4 13:56:00 2007
New Revision: 544262

URL: http://svn.apache.org/viewvc?view=rev&rev=544262
Log:
Slightly better fix (remove RTE entirely, init to null)

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentClassLoader.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentClassLoader.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentClassLoader.java?view=diff&rev=544262&r1=544261&r2=544262
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentClassLoader.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/deployment/DeploymentClassLoader.java
Mon Jun  4 13:56:00 2007
@@ -17,7 +17,6 @@
 package org.apache.axis2.deployment;
 
 import org.apache.axiom.attachments.utils.IOUtils;
-import org.apache.axis2.deployment.util.Utils;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
@@ -72,7 +71,7 @@
         try {
             clazz = super.findClass(name);
         } catch (ClassNotFoundException e) {
-            byte raw[];
+            byte raw[] = null;
             try {
                 String completeFileName = name;
                 /**
@@ -81,7 +80,7 @@
                 completeFileName = completeFileName.replace('.', '/').concat(".class");
                 raw = getBytes(completeFileName);
             } catch (Exception ex) {
-                throw new RuntimeException(ex);
+                // Fall through
             }
             if (raw == null) {
                 throw new ClassNotFoundException("Class Not found : " + name);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message