[Mono-dev] [patch] throw MethodAccessException and FieldAccessException instead of InvalidProgramException

Rodrigo Kumpera kumpera at gmail.com
Mon Aug 20 12:16:02 EDT 2007


Hey Jb,

There are memory leaks when the exception message is built, it should free
the results of mono_method_full_name and mono_field_full_name. Besides these
issues, the patch looks good.

Rodrigo.

On 8/20/07, Jb Evain <jb at nurv.fr> wrote:
>
> Folks,
>
> As the title claims, here's a patch to throw MethodAccessException and
> FieldAccessException instead of InvalidProgramException.
>
> Also, it add checks for the visibility of static fields on ldsfld and
> stsfl, which were not checked before.
>
> Comments?
>
> --
> Jb Evain  <jb at nurv.fr>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070820/62224ba2/attachment.html 


More information about the Mono-devel-list mailing list