This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: load native lib (SWT) with JNI on windows


>>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:

Ranjit> BTW, as a quick hack I added something like:
Ranjit>      args_size += ( this_arg_size < 4) ? 4 : this_arg_size;
Ranjit> for each "this_arg_size" representing a JNI method parameter
Ranjit> in "gcc/java/expr.c" (ref. my earlier patch)

I wish I could tell you the correct way to do this, but I don't know
it.

Ranjit> Unfortunately, for some reason, the interpreter still fails
Ranjit> in executing the HelloSWT program. :-(

Do you have a stack trace?

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]