getting a handle on build warnings

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Fri Jul 11 17:43:32 UTC 2008


On Jul 11, 2008, at 10:00 AM, Thorbjørn Ravn Andersen wrote:

> Jonathan Gibbons skrev  den 11-07-2008 13:52:
>>
>> Yes, that technique can work well. But either way, the next step is
>> to try writing the code to analyze the build log, to see how far  
>> the general
>> idea can be taken, and how much interest there is to track/fix  
>> warnings.
>>
> Personally I'd like there to be no warnings at all, and would like  
> to contribute work to get there
>

Thank you.

Getting rid of the actual warnings will require cooperation from the  
teams who are
responsible for the various parts of the code. In some cases, there  
may be resistance,
since stability is sometimes preferred over "no warnings".  That being  
said, what I'm
hoping to achieve with this discussion and any related effort is a non- 
intrusive way
of gathering information about warnings, so that we have a better  
understanding of
where the warnings are, in what areas of the code and in which source  
files.  That way,
we can work with the teams involved to see if there is interest in  
reducing their
warning count in as safe a way as possible.  Any assistance in getting  
to that point
would be welcome.

(Note that anyone contributing to OpenJDK must first sign the Sun  
Contributor Agreement;
you can find details at http://sca.dev.java.net.)

-- Jon





More information about the build-dev mailing list