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]
Other format: [Raw text]

Re: String concatenation, mingw, and the + operator


>>>>> "Lars" == Lars Andersen <lars at rimfaxe dot 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


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