Author: krasnov
Date: 2007-12-09 09:28:39 -0500 (Sun, 09 Dec 2007)
New Revision: 91002
Modified:
trunk/mcs/class/System.Web/System.Web/ChangeLog
trunk/mcs/class/System.Web/System.Web/HttpApplication.cs
Log:
* HttpApplication.cs: added TARGET_JVM to LoadType method
Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog 2007-12-09 13:29:10 UTC
(rev 91001)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog 2007-12-09 14:28:39 UTC
(rev 91002)
@@ -1,3 +1,7 @@
+2007-12-09 Vladimir Krasnov <[EMAIL PROTECTED]>
+
+ * HttpApplication.cs: added TARGET_JVM to LoadType method
+
2007-12-08 Marek Habersack <[EMAIL PROTECTED]>
* HttpRuntime.cs: initialize the Settings Mapping Manager once per
Modified: trunk/mcs/class/System.Web/System.Web/HttpApplication.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpApplication.cs 2007-12-09
13:29:10 UTC (rev 91001)
+++ trunk/mcs/class/System.Web/System.Web/HttpApplication.cs 2007-12-09
14:28:39 UTC (rev 91002)
@@ -1449,6 +1449,7 @@
if (type != null)
return type;
+#if !TARGET_JVM
Assembly [] assemblies =
AppDomain.CurrentDomain.GetAssemblies ();
foreach (Assembly ass in assemblies) {
type = ass.GetType (typeName, false);
@@ -1472,7 +1473,7 @@
type = LoadTypeFromBin (typeName);
if (type != null)
return type;
-
+#endif
if (throwOnMissing)
throw new TypeLoadException (String.Format
("Type '{0}' cannot be found", typeName));
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches