javaannotations

configure java compiler so that it gives an error on missing annotations


how can i configure the javac compiler to give an error instead of a warning when an annotation like @Override is missing?

it should work on java 5.


Solution

  • You can use the -Werror option with JDK 6.


    On the same topic :