Xlint:unchecked

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jan 30 21:11:42 UTC 2014


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