Xlint:unchecked

Pete Brunet peter.brunet at oracle.com
Thu Jan 30 22:42:29 UTC 2014


Thanks Jon, I looked through the help output a couple of times and
didn't find a way to specify javac args.  -Pete

On 1/30/14 3:11 PM, Jonathan Gibbons wrote:
> Pete,
>
> -Xlint is a javac arg, not a JVM arg, so setting
>
> --with-boot-jdk-jvmargs
>
> surely won't do anything.
>
> Use
> sh ./configure.sh --help
>
> to see the full list of available options and env variables.
>
> -- Jon
>
> On 01/30/2014 12:40 PM, Pete Brunet wrote:
>> Fixed typo in subject line...
>>
>> On 1/30/14 2:35 PM, Pete Brunet wrote:
>>> I am getting these messages during a build:
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>>
>>> So I tried redoing the config with
>>> --with-boot-jdk-jvmargs="-Xlint:unchecked"
>>> then touching the files and rebuilding but the build still used
>>> -Xlint:-unchecked.
>>>
>>> Is there a way to compile with -Xlint:unchecked?
>>>
>>> Pete
>




More information about the build-dev mailing list