[Gtk-sharp-list] trying out Exposing .NET Libraries to Java
PaulGray219
paul.gray at scivantage.com
Thu May 6 16:42:03 EDT 2010
I tried to follow the steps on the page http://www.mono-project.com/Java.
When I try to run ikvmstub on gtk-sharp.dll, I get the following. (
D:\javatest>ikvmstub gtk-sharp.dll
java.lang.NegativeArraySizeException
at cli.System.Convert.ToUInt32(Unknown Source)
at cli.System.Int32.System.IConvertible.ToUInt32(Unknown Source)
at
IKVM.Internal.DotNetTypeWrapper+EnumValueFieldWrapper.GetEnumPrimitiveValue(Unknown
Source)
at IKVM.Internal.DotNetTypeWrapper.LazyPublishMembers(Unknown
Source)
at IKVM.Internal.TypeWrapper.GetMethods(Unknown Source)
at IKVM.NativeCode.java.lang.Class.getDeclaredConstructors0(Unknown
Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java)
at java.lang.Class.getDeclaredConstructors(Class.java:1862)
at cli.NetExp.ProcessClass(Unknown Source)
at cli.NetExp.ProcessAssembly(Unknown Source)
at cli.NetExp.Main(Unknown Source)
Warning: Assembly reflection encountered an error. Resultant JAR may be
incomplete.
This seems strange. Any ideas?
Thanks
Paul
--
View this message in context: http://mono.1490590.n4.nabble.com/trying-out-Exposing-NET-Libraries-to-Java-tp2133342p2133342.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list
mailing list