Using ant to build gives
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
after a move to JDK 1.5.
No surprise really.
Resolving all these will be looked at as and when the code needs to be touched.
Until then I was looking for a way to suppress this annoying ant warning from an otherwise warning-free build
and I found
-Xlint:-unchecked
but
<javac>
<compilerarg line="-Xlint:-unchecked"/>
</javac>
does not seem to make any difference.
Does anyone know how to do this?