String concatenation, mingw, and the + operator

Tom Tromey tromey@redhat.com
Thu Mar 27 19:02:00 GMT 2003


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

Lars>     System.out.println("Test");
Lars>     System.out.println(""+0);
Lars>     System.out.println(""+1);

Lars> , but this is what i get :
Lars> Test

Lars> 1

I get this too :-(.

We've had bugs in this area before.  I guess you just found another
one.  Luckily this doesn't seem to happen much in real code.

Could you submit a PR for this?

BTW, if anybody has been itching to fix a compiler bug, this one might
be a good place to start.

Tom



More information about the Java mailing list