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]

Re: bug, possibly in InputStream class


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


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