Intro
Some continuous-integration tools (say, Hudson) assume compilers generate warnings of different severity (aka priority): high, normal and low.
Depending on number and severity of compiler warnings, the tool can mark a build as unstable.
I want my builds unstable if compiler generates high priority warnings.
I never seen any high (and low) priority warnings on our project -- only normal, so I'm a bit suspicious if they really exist.
Question
Where can I look at a list of high priority compiler warnings generated by javac and/or ecj.
Or maybe you can provide some examples of high priority warnings.
Other
Related, but maybe different question: I suspect high priority compiler warnings are actually errors and there can't be actually a situation you have source code compiled with high priority warnings (build will be broken in that case).
You can get a list of all compiler warnings by typing:
javac -X
and looking at the list given for the -Xlint option.
Java doesn't really have a notion of "high" vs "low" priority, and arguably shouldn't-- which particuarly warnings are likely to indicate a problem with your project is really specific to your particular mode of development.