spring-projects/spring-aot-smoke-tests

Enable compile linting and treat warnings as errors

Closed this issue · 1 comments

We should aim for the smoke tests to represent a well-maintained and updated application. As such, they should avoid using deprecated APIs where possible. To enforce this, we should compile them with deprecation linting enabled and treat warnings as errors.

Let's enable broader linting, bringing the smoke tests into line with Boot's codebase:

-Werror -Xlint:unchecked -Xlint:deprecation -Xlint:rawtypes -Xlint:varargs