bug, possibly in InputStream class

Tom Tromey tromey@redhat.com
Mon Mar 5 15:52:00 GMT 2001


>>>>> "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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /