Build portability: enable or disable warnings

David Holmes David.Holmes at oracle.com
Fri May 20 00:18:13 UTC 2011


Jonathan Gibbons said the following on 05/20/11 09:39:
> On 05/19/2011 02:20 PM, David Holmes wrote:
>>
>>
>> javac produces new warnings because new language features cause new 
>> potential issues.
> 
> David,
> 
> FYI, javac has more warnings than you describe.  For example, 
> -Xlint:fallthrough warns about falling from one case in a switch 
> statement into another. That is nothing to do with a new language feature.

Ok point taken. I guess javac can also get more picky about what it 
warns about over time.

Thanks,
David



More information about the build-dev mailing list