Forums

Cobra fails to Run Hello World

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Re: Cobra fails to Run Hello World

Postby jonathandavid » Tue Feb 10, 2009 2:34 am

I'm a little confused. If Cobra is "frozen" on .NET 2.0, shouldn't it be frozen as well with respect to Mono? Otherwise I predict a very grim future for the maintenance of Cobra, with every new version of Mono breaking some random part of the code.
jonathandavid
 
Posts: 159

Re: Cobra fails to Run Hello World

Postby Charles » Tue Feb 10, 2009 1:17 pm

The fix I have in mind will make Cobra more robust. It will still work on Mono 2.0 and .NET 2.0, but will also work on Mono 2.2.

If Cobra is ever in need of similar improvements for subsequent versions of .NET, I'm willing to make them.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Cobra fails to Run Hello World

Postby Charles » Tue Feb 10, 2009 4:43 pm

I've made the robustness fix for Mono 2.2's different reflection order on "implements". However, the Mono 2.2 bug regarding string literals remains. They have already fixed this in development which meant my bug report to them was a duplicate. But it's not clear if they will be making a 2.2.x maintenance release, or if you'll just have to wait for the next version, 2.4, to get this.

So in the mean time, you should stick with Mono 2.0.

All test cases on .NET 2.0 still pass.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Cobra fails to Run Hello World

Postby gauthier » Wed Feb 11, 2009 2:55 pm

Chuck wrote:The other is that System.Reflection in Mono 2.2 returns interfaces for IList<of T> in a different order than earlier versions and Cobra is sensitive to the order. I will make Cobra insensitive to the order.


I recall getting some issues with type hierarchy that implemented an heavy amount of interfaces because of the order of them (and having some type.GetInterfaces usage), I think making cobra order insensitive will solve that.

It seems there is no specified order for cli compilers (or for the clr?) when inspecting type inheritance/implementation chain.
gauthier
 
Posts: 116

Re: Cobra fails to Run Hello World

Postby Charles » Tue Feb 17, 2009 9:16 pm

I received an announcement email today that Mono 2.4 Preview 3 is available at:
http://mono.ximian.com/monobuild/previe ... d-preview/

I installed it on Mac OS X, ran the Cobra test suite and did an install-from-workspace. The problems we experienced in Mono 2.2 are gone.

-Chuck
Charles
 
Posts: 2515
Location: Los Angeles, CA

Previous

Return to Discussion

Who is online

Users browsing this forum: No registered users and 42 guests

cron