1.1 --- a/samples/genericconstructor/build.xml Sat Jun 14 09:57:11 2008 +0200
1.2 +++ b/samples/genericconstructor/build.xml Sat Jun 14 09:57:18 2008 +0200
1.3 @@ -11,9 +11,14 @@
1.4 <param name="version" value="plain"/>
1.5 <param name="source" value="1.4"/>
1.6 </antcall>
1.7 + <echo level="info" message="Compiles with 1.5, fails as there is now cast"/>
1.8 + <antcall target="-build-one">
1.9 + <param name="version" value="generics"/>
1.10 + <param name="source" value="1.5"/>
1.11 + </antcall>
1.12 <echo level="info" message="Compiles with 1.5"/>
1.13 <antcall target="-build-one">
1.14 - <param name="version" value="generics"/>
1.15 + <param name="version" value="factory"/>
1.16 <param name="source" value="1.5"/>
1.17 </antcall>
1.18 </target>
1.19 @@ -32,6 +37,8 @@
1.20 source="${source}" target="${source}"
1.21 classpath="${cp}"
1.22 failonerror="false"
1.23 - />
1.24 + >
1.25 + <compilerarg value="-Xlint:unchecked"/>
1.26 + </javac>
1.27 </target>
1.28 </project>