Community
Participate
Working Groups
I20090325-1135 + plug-in export. Generating toString using MessageFormat produces wrong result: public String toString() { return MessageFormat.format("a [i={1}, j={2}, k={3}]", new Object[] { Integer.valueOf(i), Integer.valueOf(j), Integer.valueOf(k) }); } Pattern starts with 0. Please also verify all other generated code.
Using Integer.valueOf(i) is also wrong - in JDK 1.4 it must be new Integer(i). This patch fixes both problems.
Created attachment 132527 [details] patch
Released to HEAD.
Verified in I20090429-0100.