[Ikvm-developers] BadImageFormatException when deserializing Object with protected final field
Brought to you by:
jfrijters
|
From: Christian P. <pro...@op...> - 2011-09-06 12:12:02
|
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...<mailto:beu...@op...> Web: www.optimal-systems.de<http://www.optimal-systems.de/> Treffen Sie OPTIMAL SYSTEMS live! Die nächsten Termine finden Sie hier.<http://www.optimal-systems.de/ecm/www/info-center/termine> 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 |