This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: bug, possibly in InputStream class
- To: Benjamin Black <bhb8 at columbia dot edu>
- Subject: Re: bug, possibly in InputStream class
- From: Tom Tromey <tromey at redhat dot com>
- Date: 05 Mar 2001 17:05:44 -0700
- Cc: java at gcc dot gnu dot org, Alexandre Petit-Bianco <apbianco at cygnus dot com>
- References: <3AA2F005.8020700@columbia.edu>
- Reply-To: tromey at redhat dot com
>>>>> "Ben" == Benjamin Black <bhb8@columbia.edu> writes:
Ben> instead of exiting main at the end of the tail while loop, as it
Ben> should (and does when run with blackdown's vm), the gcj-compiled
Ben> version spits out a zero and sits patiently without exiting
Ben> (waiting for the apocalypse, no doubt).
I don't see this.
However if I compile it with `gcj -C' and then run it with gij (with
argument http://sources.redhat.com/), the interpreter will crash.
Compiling to object code works fine.
Compiling to bytecode with javac also works fine.
If I try to run the `gcj -C' output with `java', I get a verification
error. So it looks like this program triggers a bug in the compiler's
bytecode generation.
Tom