Re: [Ikvm-developers] BadImageFormatException when deserializing Object with protected final field
Brought to you by:
jfrijters
|
From: Dawid W. <daw...@cs...> - 2011-09-06 12:49:43
|
If you post a minimal example it'll be easier to verify what's wrong. Dawid On Tue, Sep 6, 2011 at 2:11 PM, Christian Prochnow <pro...@op...> wrote: > Hi, > > > > First of all .. thanks for this great project! It really helps us to get rid > of some proprietary Java<->.NET bridge. > > > > > > Using the ikvmc compiler we receive a BadImageFormatException at runtime > when an object, which contains a protected final field, is deserialized. > > It only occurs when the field got wrapped by a property. > > The deserialization code assumes that the property has a setter, but in fact > only a getter has been emitted. This leads to invalid IL code that is being > generated by the FastFieldReflector (a call without a Method). > > > > Is this a bug in ikvm ? > > > > > > > > Keep up the good work! > > > > > > Best regards, > > > > Christian > > > > > > > > > > i.A. Christian Prochnow > > Software Developer > > Software Development > > > > flexible software | for your way of working > > > > OPTIMAL SYSTEMS GmbH > > Cicerostraße 26, 10709 Berlin > > Tel.: 030 - 8 95 70 80 > > Fax: 030 - 8 95 70 88 88 > > E-Mail: pro...@op... > > Web: www.optimal-systems.de > > > > Treffen Sie OPTIMAL SYSTEMS live! > > Die nächsten Termine finden Sie hier. > > > > Lesen Sie den aktuellen OPTIMAL SYSTEMS Newsletter: > > http://www.optimal-systems.de/news > > ______________________________________________________ > > Sitz der Gesellschaft: Berlin > > HRB 38 560 Amtsgericht Charlottenburg - USt-IdNr.: DE 136 722 551 > > Geschäftsführer: Karsten Renz > > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Ikvm-developers mailing list > Ikv...@li... > https://lists.sourceforge.net/lists/listinfo/ikvm-developers > > |