Author: igorz
Date: 2007-09-02 05:43:15 -0400 (Sun, 02 Sep 2007)
New Revision: 85185

Modified:
   trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs
Log:
added TARGET_J2EE def

Modified: trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs        2007-09-02 
09:41:54 UTC (rev 85184)
+++ trunk/mcs/class/System.Web/System.Web/HttpRuntime.cs        2007-09-02 
09:43:15 UTC (rev 85185)
@@ -285,6 +285,7 @@
                        ThreadPool.QueueUserWorkItem (do_RealProcessRequest, 
request);
                }
 
+#if !TARGET_J2EE
 #if NET_2_0
                static readonly string[] app_offline_files = 
{"app_offline.htm", "App_Offline.htm", "APP_OFFLINE.HTM"};
                static FileSystemWatcher[] app_offline_watchers;
@@ -392,6 +393,7 @@
                        }
                }
 #endif
+#endif
                
                static void RealProcessRequest (object o)
                {
@@ -409,12 +411,12 @@
                                        error = true;
                                }
                        }
-#endif
 
 #if NET_2_0
                        if (AppIsOffline (context))
                                return;
 #endif
+#endif
                        
                        //
                        // Get application instance (create or reuse an 
instance of the correct class)

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

Reply via email to