TARGET_JVM fixes
authorEyal Alalouf <eyala@mainsoft.com>
Mon, 29 Aug 2005 09:22:52 +0000 (09:22 -0000)
committerEyal Alalouf <eyala@mainsoft.com>
Mon, 29 Aug 2005 09:22:52 +0000 (09:22 -0000)
svn path=/trunk/mcs/; revision=49057

mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HttpContext.cs

index d08b6b54ce91d825bde2aacb89468143b2d85966..383b03207c870a6ce2869aa13d82c12b34a124ed 100644 (file)
@@ -1,3 +1,6 @@
+2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
+    * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
+
 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
index 35104d8f2f56b7b7ef19d4741bb05fdf876719ab..a2534d6eb9a9e0aa80b257a5e621ffcf2d0948f3 100644 (file)
@@ -161,13 +161,15 @@ namespace System.Web {
                                        (Request.WorkerRequest.GetLocalAddress () != Request.UserHostAddress);
                        }
                }
-
+#if TARGET_JVM
+               public bool IsDebuggingEnabled { get { return false; } }
+#else
                public bool IsDebuggingEnabled {
                        get {
                                return CompilationConfiguration.GetInstance (this).Debug;
                        }
                }
-
+#endif
                public IDictionary Items {
                        get {
                                if (items == null)