build.xml should use javac target="1.2".
See
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4834015
And
http://developer.berlios.de/bugs/?func=detailbug&bug_id=2346&group_id=1246
Quoting from the bug report:
"The only solution is to ensure that everyone always
uses compilation tools that conform to the semantics
specified in the second edition of the JLS. This means
using J2SE 1.4 or later, WTK 2.0 final or later, or
specifying -target 1.2 if earlier versions of J2SE are
used."
The javac targets should appear as:
<javac srcdir="src"
destdir="tmpclasses"
debug="false"
source="1.2"
target="1.2"/>
<javac srcdir="src_j2se"
destdir="tmpclasses"
debug="false"
source="1.2"
target="1.2"/>
build.xml patch