[Mono-dev] XmlTextReader.cs patch (IBM bug workaround)

Sasha Kogan sashak at mainsoft.com
Wed Apr 18 07:23:32 EDT 2007





From: Sasha Kogan 
Sent: Monday, April 16, 2007 4:14 PM
To: 'mono-devel-list at lists.ximian.com'
Subject: XmlTextReader.cs patch (IBM bug workaround)


Please review the attached patch for XmlTextReader.cs. The patch is
actually a workaround for an IBM bug (seems to be a JIT compiler bug)
that causes java.lang.AbstractMethodError to be thrown upon access of
some virtual methods/properties within the class. 

The workaround is to access such methods/properties indirectly, via the
introduced 'This' property that just returns 'this' reference.


Alternativelly, we could wrap the patch in "#if TARGET_JVM", but since
there're numerous places in the code where it should be applied, this
approach would dirty the code too much. 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070418/57a79878/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XmlTextReader.cs.patch
Type: application/octet-stream
Size: 6705 bytes
Desc: XmlTextReader.cs.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070418/57a79878/attachment.obj 

More information about the Mono-devel-list mailing list