byte array to string conversion

Tom Tromey tromey@redhat.com
Thu Sep 11 17:14:00 GMT 2003


>>>>> "Lars" == Lars Andersen <lars@rimfaxe.com> writes:

Lars> I made a little test program, maybe someone can tell what's going on.
Lars> With Sun jdk 1.4.1 on linux it outputs "toAsciiString -> Test String"
Lars> With GCJ 3.3 on linux it outputs "toAsciiString -> "

Hmm, for me, both 3.3 and current cvs head work correctly.
How did you compile this program?  I tried compiling to an executable
with and without -O, and also gij with bytecode.

Tom



More information about the Java mailing list