Author: kostat
Date: 2007-12-09 03:58:57 -0500 (Sun, 09 Dec 2007)
New Revision: 90998
Modified:
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
Log:
TARGET_JVM: do not use the SettingsMappingManager
Modified:
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
===================================================================
---
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
2007-12-09 08:00:03 UTC (rev 90997)
+++
trunk/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationManager.cs
2007-12-09 08:58:57 UTC (rev 90998)
@@ -271,7 +271,11 @@
if (section == null)
return null;
+#if TARGET_J2EE
+ return get_runtime_object.Invoke (section, new object
[0]);
+#else
return SettingsMappingManager.MapSection
(get_runtime_object.Invoke (section, new object [0]));
+#endif
}
static string GetCurrentPath (HttpContext ctx)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches