ClassNotFoundException for resource bundle

Arvind Shyamsundar <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hello friends

Firstly thanks much for providing IKVM to the community, it is a real piece
of work!

 

I am trying to convert a JAR (http://lc0277.gratisim.fr/boat/aibtc02.zip)
from a C# executable. I have converted that to a library using IKVMC but
when I reference this and start using the methods, it fails to load the
resource bundle class which is embedded in the JAR as a messages.properties
file.

 

I have tried using -classloader:ikvm.runtime.AppDomainAssemblyClassLoader as
well but no success.

 

The problem can be easily reproduced by referencing the assembly inside a
console app and then writing:

 

Console.WriteLine(flightsim.shiptraffic.I18N._("BoatRecord.InvalidLine"));

 

Thanks!

 

Arvind.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.