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: Weird segmentation fault (2)


Tom Tromey wrote:
In that case you'll have to read through the list archives a bit.
People occasionally have problems with the CNI invocation API.  I'm
not up-to-date on all the problems with it.

In fact I took this simple test case from http://www.ociweb.com/jnb/jnbJan2003.html which provides easy information about how to use gcj. The code they use there is identical (see Compiled Native Interface - Invocation API), except that I simplified it by printing nothing to the console. I suppose this worked at one time or another, otherwise they wouldn't have used it in this article, no?


We need to add some test cases for this; currently we don't test it at
all...  If you have some simple code that works, send it and I'll try
to get it in the test suite.

Imho, what I submitted is as simple as it can get. Ie. it just sets up the virtual machine. Are you sure there's no bug that creeped into the 3.3 cvs branch version at one time or another that could cause this to stop functioning?


Best regards,

Geert


-- Geert Bevin Uwyn "Use what you need" Lambermontlaan 148 http://www.uwyn.com 1030 Brussels gbevin[remove] at uwyn dot com Tel & Fax +32 2 245 41 06

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


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