Author: mmerz
Date: Wed Dec  1 09:36:39 2004
New Revision: 109360

URL: http://svn.apache.org/viewcvs?view=rev&rev=109360
Log:
Removed the requirement that java value types be serializable since Jonathan
couldn't find that requirement when reexamining the JAX-RPC spec.

Contributor: Jonathan Colwell


Modified:
   
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java

Modified: 
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
Url: 
http://svn.apache.org/viewcvs/incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java?view=diff&rev=109360&p1=incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java&r1=109359&p2=incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java&r2=109360
==============================================================================
--- 
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
   (original)
+++ 
incubator/beehive/trunk/wsm/src/runtime/org/apache/beehive/wsm/axis/AxisHook.java
   Wed Dec  1 09:36:39 2004
@@ -256,15 +256,12 @@
                              */
                             e.printStackTrace();
                         }
-                    } else if (Serializable.class.isAssignableFrom(type)
+                    } else if (!Remote.class.isAssignableFrom(type) 
                             /*
-                             * NOTE [EMAIL PROTECTED] 2004-Oct-11 --
-                             * java.io.Serializable is required and
+                             * NOTE [EMAIL PROTECTED] 2004-Dec-01 -- 
                              * java.rmi.Remote is prohibited
                              * by the jax-rpc spec 
-                             */
-                            && !Remote.class.isAssignableFrom(type)
-                            /*
+                             *
                              * NOTE [EMAIL PROTECTED] 2004-Oct-11 -- 
                              * restricting against File since even though it
                              * is technically serializable, it doesn't make
@@ -273,7 +270,7 @@
                              * loop as it keeps returning itself from the 
                              * getAbsoluteFile and getCanonicalFile calls
                              */
-                            && !File.class.isAssignableFrom(type)) {
+                               && !File.class.isAssignableFrom(type)) {
                         TypeDesc td = TypeDesc.getTypeDescForClass(type);
                         TypeDesc superTd = null;
                         BeanPropertyDescriptor[] superPd = null;

Reply via email to