* mini-exceptions.c (get_exception_catch_class): Non catch
clausesdon't have an exception class, so don't decode it. This would
crash with filter clauses.
svn path=/trunk/mono/; revision=154172
+2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * mini-exceptions.c (get_exception_catch_class): Non catch clauses
+ don't have an exception class, so don't decode it. This would crash
+ with filter clauses.
+
2010-03-24 U-anarquia\miguel <miguel@anarquia>
Make sure that trunk builds with DISABLE_JIT, an update to the
MonoType *inflated_type;
MonoGenericContext context;
- if (!catch_class)
+ /*MonoJitExceptionInfo::data is an union used by filter and finally clauses too.*/
+ if (!catch_class || ei->flags != MONO_EXCEPTION_CLAUSE_NONE)
return NULL;
if (!ji->has_generic_jit_info || !mono_jit_info_get_generic_jit_info (ji)->has_this)