Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.5, 1.7-beta-2
-
None
-
None
-
Ubuntu 9.04 Jaunty Jackalope, Groovy HEAD 2009-09-18
Description
Using the task:
<groovyc srcdir="." destdir="."> <javac source="1.6" target="1.6" debug="on"> <compilerarg value="-Xlint"/> </javac> </groovyc>
works, but the -Xlint option is not passed to the javac call of the joint compilation. Using this where the Java containes an unchecked exception that is not suppressed leads to a message such as:
[groovyc] Note: XXXXXX uses unchecked or unsafe operations.
[groovyc] Note: Recompile with -Xlint:unchecked for details.
just as is the case without the -Xlint option.