[Mono-dev] Bug 10784

Alexander Köplinger alexander.koeplinger at xamarin.com
Tue Jan 5 13:45:58 UTC 2016


I don't think it's as easy as removing the assert.

For one, the interface ID returned by mono_get_unique_iid() is stored as a
guint16 (
https://github.com/mono/mono/blob/36c7332104eb5250a93079ae77c2e0dbf12c6c9a/mono/metadata/class-internals.h#L344)
which means you only have 0-65,535 values there. I'm not familiar enough
with the runtime codebase to say which other problems you'll run into if
you try to fix this.

- Alex

2016-01-05 8:38 GMT+01:00 Jamie Venning <jamie_venning at technologyonecorp.com
>:

> Good Morning.
>
> Bug 10784 (
> https://bugzilla.xamarin.com/show_bug.cgi?format=multiple&id=10784) is a
> major blocker for me, and a big obstacle for larger applications moving
> from .NET to Mono. Because I need this fixed, I am prepared to fix it
> myself.
>
> I'm wondering if anyone knowledgeable in this area could answer these few,
> short questions just to confirm a few things.
>
> Removing the offending assertion from class.c, and running generated test
> cases that previously triggered it, I did not notice any incorrect
> behaviour in terms of reflection, the 'is' operator failing, or the wrong
> implementation of functions being used. Is there anywhere that I should be
> looking in particular or any particular type of tests I can use to expose
> an underlying fault that removing this assertion causes?
>
> Is it possible that this assertion is vestigial or unnecessary?
>
> --
>
> James Venning
> Research & Development - Ci2 - Product
> Phone: +61 7 3167 7300 | Fax: +61 7 3167 7301 Address: Level 11,
> TechnologyOne HQ, 540 Wickham Street, Fortitude Valley QLD 4006 (PO Box 96
> Fortitude Valley QLD 4006) Email: jamie_venning at technologyonecorp.com
> Web: TechnologyOneCorp.com <http://www.technologyonecorp.com/>
>
> <http://www.technologyonecorp.com/>
>
> Financials | Human Resource & Payroll | Supply Chain | Corporate
> Performance Management | Property & Rating | Student Management | Asset
> Management | Enterprise Content Management | Customer Relationship
> Management | Consulting Services
>
> *TechnologyOne (ASX:TNE) is Australia's largest publicly listed software
> company, with offices across six countries including each state and
> territory of Australia, as well as New Zealand, the South Pacific, Asia and
> the United Kingdom. For 25 years, we have been providing powerful and
> deeply integrated enterprise software solutions that are used every day by
> more than 1000 leading corporations, government departments and statutory
> authorities.*
>
> TechnologyOne accepts no liability for any damage caused by this email or
> its attachments. The information in this email is only for the intended
> recipient and may contain confidential and/or privileged material. If you
> received this in error, please kindly notify the sender and delete this
> email and any attachments from your system. Opinions, conclusions and other
> information in this message that do not relate to the official business of
> the company shall be understood as neither given nor endorsed by it. If you
> believe that you have been spammed please email
> Stop_Spam at TechnologyOneCorp.com <stop_spam at technologyonecorp.com>.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20160105/69666b5c/attachment.html>


More information about the Mono-devel-list mailing list