Author: kostat
Date: 2006-01-09 11:03:53 -0500 (Mon, 09 Jan 2006)
New Revision: 55235

Modified:
   trunk/mcs/class/System.Web/System.Web.Util/AltSerialization.cs
Log:
correct ifdef to TARGET_J2EE

Modified: trunk/mcs/class/System.Web/System.Web.Util/AltSerialization.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Util/AltSerialization.cs      
2006-01-09 16:02:35 UTC (rev 55234)
+++ trunk/mcs/class/System.Web/System.Web.Util/AltSerialization.cs      
2006-01-09 16:03:53 UTC (rev 55235)
@@ -71,7 +71,7 @@
                        int i = types.IndexOf (type);
                        if (i == -1) {
                                w.Write (15); // types.Count
-#if TARGET_JVM
+#if TARGET_J2EE
                                
((System.Web.J2EE.ObjectOutputStream)w.BaseStream).NativeStream.writeObject(value);
 #else
                                BinaryFormatter bf = new BinaryFormatter ();
@@ -130,7 +130,7 @@
                internal static object DeserializeFromIndex (int index, 
BinaryReader r)
                {
                        if (index == 15){
-#if TARGET_JVM
+#if TARGET_J2EE
                                return 
((System.Web.J2EE.ObjectInputStream)r.BaseStream).NativeStream.readObject();
 #else
                                BinaryFormatter bf = new BinaryFormatter ();

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to