hang when printing exception
Mark Wielaard
mark@klomp.org
Mon Mar 17 18:26:00 GMT 2003
Hi,
On Mon, 2003-03-17 at 18:56, Andrew Haley wrote:
> Tom Tromey writes:
> > Backing out this change removes the problem. So this is definitely
> > it. I'm going to write a small test showing the bug.
Yes, that is what I am also seeing. My stack traces work again! Yeah.
> I haven't seen the failure you describe. If you will create a test
> case I'll investigate.
The attached program does work correctly (prints [i: 1, j: 2, k: 3])
with the latest change gjavah.c reverted. But produces incorrect results
otherwise:
$ gcj -C TC.java
$ gcjh TC
$ gcj --main=TC TC.class natTC.cc
$ ./a.out
[i: 4294967296, j: 0, k: 2]
Cheers,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TC.java
Type: text/x-java
Size: 269 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20030317/4bc9bed0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: natTC.cc
Type: text/x-c++
Size: 64 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20030317/4bc9bed0/attachment-0001.bin>
More information about the Java
mailing list